Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions java-maps-mapmanagement/google-maps-mapmanagement-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,21 @@
<artifactId>google-maps-mapmanagement</artifactId>
<version>0.5.0-SNAPSHOT</version><!-- {x-version-update:google-maps-mapmanagement:current} -->
</dependency>
<dependency>
<groupId>com.google.maps.api.grpc</groupId>
<artifactId>grpc-google-maps-mapmanagement-v2</artifactId>
<version>0.5.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-maps-mapmanagement-v2:current} -->
</dependency>
<dependency>
<groupId>com.google.maps.api.grpc</groupId>
<artifactId>grpc-google-maps-mapmanagement-v2beta</artifactId>
<version>0.5.0-SNAPSHOT</version><!-- {x-version-update:grpc-google-maps-mapmanagement-v2beta:current} -->
</dependency>
<dependency>
<groupId>com.google.maps.api.grpc</groupId>
<artifactId>proto-google-maps-mapmanagement-v2</artifactId>
<version>0.5.0-SNAPSHOT</version><!-- {x-version-update:proto-google-maps-mapmanagement-v2:current} -->
</dependency>
<dependency>
<groupId>com.google.maps.api.grpc</groupId>
<artifactId>proto-google-maps-mapmanagement-v2beta</artifactId>
Expand Down
9 changes: 9 additions & 0 deletions java-maps-mapmanagement/google-maps-mapmanagement/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
</dependency>

<!-- {x-generated-proto-dependencies-start} -->
<dependency>
<groupId>com.google.maps.api.grpc</groupId>
<artifactId>proto-google-maps-mapmanagement-v2</artifactId>
</dependency>
<dependency>
<groupId>com.google.maps.api.grpc</groupId>
<artifactId>proto-google-maps-mapmanagement-v2beta</artifactId>
Expand Down Expand Up @@ -90,6 +94,11 @@
</dependency>

<!-- {x-generated-grpc-dependencies-start} -->
<dependency>
<groupId>com.google.maps.api.grpc</groupId>
<artifactId>grpc-google-maps-mapmanagement-v2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.maps.api.grpc</groupId>
<artifactId>grpc-google-maps-mapmanagement-v2beta</artifactId>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "java",
"protoPackage": "google.maps.mapmanagement.v2",
"libraryPackage": "com.google.maps.mapmanagement.v2",
"services": {
"MapManagement": {
"clients": {
"grpc": {
"libraryClient": "MapManagementClient",
"rpcs": {
"CreateMapConfig": {
"methods": ["createMapConfig", "createMapConfig", "createMapConfig", "createMapConfigCallable"]
},
"CreateMapContextConfig": {
"methods": ["createMapContextConfig", "createMapContextConfig", "createMapContextConfig", "createMapContextConfigCallable"]
},
"CreateStyleConfig": {
"methods": ["createStyleConfig", "createStyleConfig", "createStyleConfig", "createStyleConfigCallable"]
},
"DeleteMapConfig": {
"methods": ["deleteMapConfig", "deleteMapConfig", "deleteMapConfig", "deleteMapConfigCallable"]
},
"DeleteMapContextConfig": {
"methods": ["deleteMapContextConfig", "deleteMapContextConfig", "deleteMapContextConfig", "deleteMapContextConfigCallable"]
},
"DeleteStyleConfig": {
"methods": ["deleteStyleConfig", "deleteStyleConfig", "deleteStyleConfig", "deleteStyleConfigCallable"]
},
"GetMapConfig": {
"methods": ["getMapConfig", "getMapConfig", "getMapConfig", "getMapConfigCallable"]
},
"GetMapContextConfig": {
"methods": ["getMapContextConfig", "getMapContextConfig", "getMapContextConfig", "getMapContextConfigCallable"]
},
"GetStyleConfig": {
"methods": ["getStyleConfig", "getStyleConfig", "getStyleConfig", "getStyleConfigCallable"]
},
"ListMapConfigs": {
"methods": ["listMapConfigs", "listMapConfigs", "listMapConfigs", "listMapConfigsPagedCallable", "listMapConfigsCallable"]
},
"ListMapContextConfigs": {
"methods": ["listMapContextConfigs", "listMapContextConfigs", "listMapContextConfigs", "listMapContextConfigsPagedCallable", "listMapContextConfigsCallable"]
},
"ListStyleConfigs": {
"methods": ["listStyleConfigs", "listStyleConfigs", "listStyleConfigs", "listStyleConfigsPagedCallable", "listStyleConfigsCallable"]
},
"UpdateMapConfig": {
"methods": ["updateMapConfig", "updateMapConfig", "updateMapConfigCallable"]
},
"UpdateMapContextConfig": {
"methods": ["updateMapContextConfig", "updateMapContextConfig", "updateMapContextConfigCallable"]
},
"UpdateStyleConfig": {
"methods": ["updateStyleConfig", "updateStyleConfig", "updateStyleConfigCallable"]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*
* Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* A client to Map Management API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= MapManagementClient =======================
*
* <p>Service Description: The Map Management API uses your inputs to create and manage Google Cloud
* based styling resources for Google Maps.
*
* <p>Using this API, you can can create and manage MapConfigs (Map IDs), StyleConfigs (JSON-based
* styling), and MapContextConfigs (associations between styles, datasets, and map variants).
*
* <p>This API offers features through three channels:
*
* <ul>
* <li>`v2alpha`: Experimental features.
* <li>`v2beta`: Preview features, recommended for early adoption.
* <li>`v2`: General Availability (GA) features.
* </ul>
*
* <p>Capabilities described here are generally available across both the v2alpha and v2beta
* endpoints.
*
* <p>Sample for MapManagementClient:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (MapManagementClient mapManagementClient = MapManagementClient.create()) {
* ProjectName parent = ProjectName.of("[PROJECT]");
* MapConfig mapConfig = MapConfig.newBuilder().build();
* MapConfig response = mapManagementClient.createMapConfig(parent, mapConfig);
* }
* }</pre>
*/
@Generated("by gapic-generator-java")
package com.google.maps.mapmanagement.v2;

import javax.annotation.Generated;
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
/*
* Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.google.maps.mapmanagement.v2.stub;

import com.google.api.gax.grpc.GrpcCallSettings;
import com.google.api.gax.grpc.GrpcCallableFactory;
import com.google.api.gax.grpc.GrpcStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.BidiStreamingCallable;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientStreamingCallable;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.ServerStreamingCallSettings;
import com.google.api.gax.rpc.ServerStreamingCallable;
import com.google.api.gax.rpc.StreamingCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
import javax.annotation.Generated;
import org.jspecify.annotations.NullMarked;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* gRPC callable factory implementation for the MapManagement service API.
*
* <p>This class is for advanced usage.
*/
@NullMarked
@Generated("by gapic-generator-java")
public class GrpcMapManagementCallableFactory implements GrpcStubCallableFactory {

@Override
public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createUnaryCallable(
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
UnaryCallSettings<RequestT, ResponseT> callSettings,
ClientContext clientContext) {
return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext);
}

@Override
public <RequestT, ResponseT, PagedListResponseT>
UnaryCallable<RequestT, PagedListResponseT> createPagedCallable(
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
PagedCallSettings<RequestT, ResponseT, PagedListResponseT> callSettings,
ClientContext clientContext) {
return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext);
}

@Override
public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCallable(
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
BatchingCallSettings<RequestT, ResponseT> callSettings,
ClientContext clientContext) {
return GrpcCallableFactory.createBatchingCallable(
grpcCallSettings, callSettings, clientContext);
}

@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
GrpcCallSettings<RequestT, Operation> grpcCallSettings,
OperationCallSettings<RequestT, ResponseT, MetadataT> callSettings,
ClientContext clientContext,
OperationsStub operationsStub) {
return GrpcCallableFactory.createOperationCallable(
grpcCallSettings, callSettings, clientContext, operationsStub);
}

@Override
public <RequestT, ResponseT>
BidiStreamingCallable<RequestT, ResponseT> createBidiStreamingCallable(
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
StreamingCallSettings<RequestT, ResponseT> callSettings,
ClientContext clientContext) {
return GrpcCallableFactory.createBidiStreamingCallable(
grpcCallSettings, callSettings, clientContext);
}

@Override
public <RequestT, ResponseT>
ServerStreamingCallable<RequestT, ResponseT> createServerStreamingCallable(
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
ServerStreamingCallSettings<RequestT, ResponseT> callSettings,
ClientContext clientContext) {
return GrpcCallableFactory.createServerStreamingCallable(
grpcCallSettings, callSettings, clientContext);
}

@Override
public <RequestT, ResponseT>
ClientStreamingCallable<RequestT, ResponseT> createClientStreamingCallable(
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
StreamingCallSettings<RequestT, ResponseT> callSettings,
ClientContext clientContext) {
return GrpcCallableFactory.createClientStreamingCallable(
grpcCallSettings, callSettings, clientContext);
}
}
Loading
Loading