public class VmwareEngineStubSettings extends StubSettings<VmwareEngineStubSettings>
Settings class to configure an instance of VmwareEngineStub.
The default instance has everything set to sensible defaults:
- The default service address (vmwareengine.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When
build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getPrivateCloud to 30 seconds:
// 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
VmwareEngineStubSettings.Builder vmwareEngineSettingsBuilder =
VmwareEngineStubSettings.newBuilder();
vmwareEngineSettingsBuilder
.getPrivateCloudSettings()
.setRetrySettings(
vmwareEngineSettingsBuilder.getPrivateCloudSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
VmwareEngineStubSettings vmwareEngineSettings = vmwareEngineSettingsBuilder.build();
Static Methods
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Returns
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Returns
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Returns
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
Returns
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
Returns
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
Returns
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Returns
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Returns
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Returns
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Returns
newBuilder()
public static VmwareEngineStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
Returns
newBuilder(ClientContext clientContext)
public static VmwareEngineStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Parameter
Returns
newHttpJsonBuilder()
public static VmwareEngineStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Returns
Constructors
VmwareEngineStubSettings(VmwareEngineStubSettings.Builder settingsBuilder)
protected VmwareEngineStubSettings(VmwareEngineStubSettings.Builder settingsBuilder)
Parameter
Methods
createClusterOperationSettings()
public OperationCallSettings<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationSettings()
Returns the object with the settings used for calls to createCluster.
Returns
createClusterSettings()
public UnaryCallSettings<CreateClusterRequest,Operation> createClusterSettings()
Returns the object with the settings used for calls to createCluster.
Returns
createHcxActivationKeyOperationSettings()
public OperationCallSettings<CreateHcxActivationKeyRequest,HcxActivationKey,OperationMetadata> createHcxActivationKeyOperationSettings()
Returns the object with the settings used for calls to createHcxActivationKey.
Returns
createHcxActivationKeySettings()
public UnaryCallSettings<CreateHcxActivationKeyRequest,Operation> createHcxActivationKeySettings()
Returns the object with the settings used for calls to createHcxActivationKey.
Returns
createNetworkPolicyOperationSettings()
public OperationCallSettings<CreateNetworkPolicyRequest,NetworkPolicy,OperationMetadata> createNetworkPolicyOperationSettings()
Returns the object with the settings used for calls to createNetworkPolicy.
Returns
createNetworkPolicySettings()
public UnaryCallSettings<CreateNetworkPolicyRequest,Operation> createNetworkPolicySettings()
Returns the object with the settings used for calls to createNetworkPolicy.
Returns
createPrivateCloudOperationSettings()
public OperationCallSettings<CreatePrivateCloudRequest,PrivateCloud,OperationMetadata> createPrivateCloudOperationSettings()
Returns the object with the settings used for calls to createPrivateCloud.
Returns
createPrivateCloudSettings()
public UnaryCallSettings<CreatePrivateCloudRequest,Operation> createPrivateCloudSettings()
Returns the object with the settings used for calls to createPrivateCloud.
Returns
createStub()
public VmwareEngineStub createStub()
Returns
Exceptions
createVmwareEngineNetworkOperationSettings()
public OperationCallSettings<CreateVmwareEngineNetworkRequest,VmwareEngineNetwork,OperationMetadata> createVmwareEngineNetworkOperationSettings()
Returns the object with the settings used for calls to createVmwareEngineNetwork.
Returns
createVmwareEngineNetworkSettings()
public UnaryCallSettings<CreateVmwareEngineNetworkRequest,Operation> createVmwareEngineNetworkSettings()
Returns the object with the settings used for calls to createVmwareEngineNetwork.
Returns
deleteClusterOperationSettings()
public OperationCallSettings<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationSettings()
Returns the object with the settings used for calls to deleteCluster.
Returns
deleteClusterSettings()
public UnaryCallSettings<DeleteClusterRequest,Operation> deleteClusterSettings()
Returns the object with the settings used for calls to deleteCluster.
Returns
deleteNetworkPolicyOperationSettings()
public OperationCallSettings<DeleteNetworkPolicyRequest,Empty,OperationMetadata> deleteNetworkPolicyOperationSettings()
Returns the object with the settings used for calls to deleteNetworkPolicy.
Returns
deleteNetworkPolicySettings()
public UnaryCallSettings<DeleteNetworkPolicyRequest,Operation> deleteNetworkPolicySettings()
Returns the object with the settings used for calls to deleteNetworkPolicy.
Returns
deletePrivateCloudOperationSettings()
public OperationCallSettings<DeletePrivateCloudRequest,PrivateCloud,OperationMetadata> deletePrivateCloudOperationSettings()
Returns the object with the settings used for calls to deletePrivateCloud.
Returns
deletePrivateCloudSettings()
public UnaryCallSettings<DeletePrivateCloudRequest,Operation> deletePrivateCloudSettings()
Returns the object with the settings used for calls to deletePrivateCloud.
Returns
deleteVmwareEngineNetworkOperationSettings()
public OperationCallSettings<DeleteVmwareEngineNetworkRequest,Empty,OperationMetadata> deleteVmwareEngineNetworkOperationSettings()
Returns the object with the settings used for calls to deleteVmwareEngineNetwork.
Returns
deleteVmwareEngineNetworkSettings()
public UnaryCallSettings<DeleteVmwareEngineNetworkRequest,Operation> deleteVmwareEngineNetworkSettings()
Returns the object with the settings used for calls to deleteVmwareEngineNetwork.
Returns
getClusterSettings()
public UnaryCallSettings<GetClusterRequest,Cluster> getClusterSettings()
Returns the object with the settings used for calls to getCluster.
Returns
getHcxActivationKeySettings()
public UnaryCallSettings<GetHcxActivationKeyRequest,HcxActivationKey> getHcxActivationKeySettings()
Returns the object with the settings used for calls to getHcxActivationKey.
Returns
getIamPolicySettings()
public UnaryCallSettings<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
Returns
Type | Description |
UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
getLocationSettings()
public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()
Returns the object with the settings used for calls to getLocation.
Returns
Type | Description |
UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
getNetworkPolicySettings()
public UnaryCallSettings<GetNetworkPolicyRequest,NetworkPolicy> getNetworkPolicySettings()
Returns the object with the settings used for calls to getNetworkPolicy.
Returns
getNodeTypeSettings()
public UnaryCallSettings<GetNodeTypeRequest,NodeType> getNodeTypeSettings()
Returns the object with the settings used for calls to getNodeType.
Returns
getPrivateCloudSettings()
public UnaryCallSettings<GetPrivateCloudRequest,PrivateCloud> getPrivateCloudSettings()
Returns the object with the settings used for calls to getPrivateCloud.
Returns
getVmwareEngineNetworkSettings()
public UnaryCallSettings<GetVmwareEngineNetworkRequest,VmwareEngineNetwork> getVmwareEngineNetworkSettings()
Returns the object with the settings used for calls to getVmwareEngineNetwork.
Returns
public PagedCallSettings<ListClustersRequest,ListClustersResponse,VmwareEngineClient.ListClustersPagedResponse> listClustersSettings()
Returns the object with the settings used for calls to listClusters.
Returns
listHcxActivationKeysSettings()
public PagedCallSettings<ListHcxActivationKeysRequest,ListHcxActivationKeysResponse,VmwareEngineClient.ListHcxActivationKeysPagedResponse> listHcxActivationKeysSettings()
Returns the object with the settings used for calls to listHcxActivationKeys.
Returns
listLocationsSettings()
public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,VmwareEngineClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
Returns
listNetworkPoliciesSettings()
public PagedCallSettings<ListNetworkPoliciesRequest,ListNetworkPoliciesResponse,VmwareEngineClient.ListNetworkPoliciesPagedResponse> listNetworkPoliciesSettings()
Returns the object with the settings used for calls to listNetworkPolicies.
Returns
listNodeTypesSettings()
public PagedCallSettings<ListNodeTypesRequest,ListNodeTypesResponse,VmwareEngineClient.ListNodeTypesPagedResponse> listNodeTypesSettings()
Returns the object with the settings used for calls to listNodeTypes.
Returns
listPrivateCloudsSettings()
public PagedCallSettings<ListPrivateCloudsRequest,ListPrivateCloudsResponse,VmwareEngineClient.ListPrivateCloudsPagedResponse> listPrivateCloudsSettings()
Returns the object with the settings used for calls to listPrivateClouds.
Returns
listSubnetsSettings()
public PagedCallSettings<ListSubnetsRequest,ListSubnetsResponse,VmwareEngineClient.ListSubnetsPagedResponse> listSubnetsSettings()
Returns the object with the settings used for calls to listSubnets.
Returns
listVmwareEngineNetworksSettings()
public PagedCallSettings<ListVmwareEngineNetworksRequest,ListVmwareEngineNetworksResponse,VmwareEngineClient.ListVmwareEngineNetworksPagedResponse> listVmwareEngineNetworksSettings()
Returns the object with the settings used for calls to listVmwareEngineNetworks.
Returns
resetNsxCredentialsOperationSettings()
public OperationCallSettings<ResetNsxCredentialsRequest,PrivateCloud,OperationMetadata> resetNsxCredentialsOperationSettings()
Returns the object with the settings used for calls to resetNsxCredentials.
Returns
resetNsxCredentialsSettings()
public UnaryCallSettings<ResetNsxCredentialsRequest,Operation> resetNsxCredentialsSettings()
Returns the object with the settings used for calls to resetNsxCredentials.
Returns
resetVcenterCredentialsOperationSettings()
public OperationCallSettings<ResetVcenterCredentialsRequest,PrivateCloud,OperationMetadata> resetVcenterCredentialsOperationSettings()
Returns the object with the settings used for calls to resetVcenterCredentials.
Returns
resetVcenterCredentialsSettings()
public UnaryCallSettings<ResetVcenterCredentialsRequest,Operation> resetVcenterCredentialsSettings()
Returns the object with the settings used for calls to resetVcenterCredentials.
Returns
setIamPolicySettings()
public UnaryCallSettings<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
Returns
Type | Description |
UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
showNsxCredentialsSettings()
public UnaryCallSettings<ShowNsxCredentialsRequest,Credentials> showNsxCredentialsSettings()
Returns the object with the settings used for calls to showNsxCredentials.
Returns
showVcenterCredentialsSettings()
public UnaryCallSettings<ShowVcenterCredentialsRequest,Credentials> showVcenterCredentialsSettings()
Returns the object with the settings used for calls to showVcenterCredentials.
Returns
testIamPermissionsSettings()
public UnaryCallSettings<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
Returns
Type | Description |
UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
toBuilder()
public VmwareEngineStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Returns
Overrides
undeletePrivateCloudOperationSettings()
public OperationCallSettings<UndeletePrivateCloudRequest,PrivateCloud,OperationMetadata> undeletePrivateCloudOperationSettings()
Returns the object with the settings used for calls to undeletePrivateCloud.
Returns
undeletePrivateCloudSettings()
public UnaryCallSettings<UndeletePrivateCloudRequest,Operation> undeletePrivateCloudSettings()
Returns the object with the settings used for calls to undeletePrivateCloud.
Returns
updateClusterOperationSettings()
public OperationCallSettings<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationSettings()
Returns the object with the settings used for calls to updateCluster.
Returns
updateClusterSettings()
public UnaryCallSettings<UpdateClusterRequest,Operation> updateClusterSettings()
Returns the object with the settings used for calls to updateCluster.
Returns
updateNetworkPolicyOperationSettings()
public OperationCallSettings<UpdateNetworkPolicyRequest,NetworkPolicy,OperationMetadata> updateNetworkPolicyOperationSettings()
Returns the object with the settings used for calls to updateNetworkPolicy.
Returns
updateNetworkPolicySettings()
public UnaryCallSettings<UpdateNetworkPolicyRequest,Operation> updateNetworkPolicySettings()
Returns the object with the settings used for calls to updateNetworkPolicy.
Returns
updatePrivateCloudOperationSettings()
public OperationCallSettings<UpdatePrivateCloudRequest,PrivateCloud,OperationMetadata> updatePrivateCloudOperationSettings()
Returns the object with the settings used for calls to updatePrivateCloud.
Returns
updatePrivateCloudSettings()
public UnaryCallSettings<UpdatePrivateCloudRequest,Operation> updatePrivateCloudSettings()
Returns the object with the settings used for calls to updatePrivateCloud.
Returns
updateVmwareEngineNetworkOperationSettings()
public OperationCallSettings<UpdateVmwareEngineNetworkRequest,VmwareEngineNetwork,OperationMetadata> updateVmwareEngineNetworkOperationSettings()
Returns the object with the settings used for calls to updateVmwareEngineNetwork.
Returns
updateVmwareEngineNetworkSettings()
public UnaryCallSettings<UpdateVmwareEngineNetworkRequest,Operation> updateVmwareEngineNetworkSettings()
Returns the object with the settings used for calls to updateVmwareEngineNetwork.
Returns