Class VmwareEngineSettings


  • @Generated("by gapic-generator-java")
    public class VmwareEngineSettings
    extends com.google.api.gax.rpc.ClientSettings<VmwareEngineSettings>
    Settings class to configure an instance of VmwareEngineClient.

    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
     VmwareEngineSettings.Builder vmwareEngineSettingsBuilder = VmwareEngineSettings.newBuilder();
     vmwareEngineSettingsBuilder
         .getPrivateCloudSettings()
         .setRetrySettings(
             vmwareEngineSettingsBuilder
                 .getPrivateCloudSettings()
                 .getRetrySettings()
                 .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     VmwareEngineSettings vmwareEngineSettings = vmwareEngineSettingsBuilder.build();
     
    • Method Detail

      • getPrivateCloudSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetPrivateCloudRequest,​PrivateCloud> getPrivateCloudSettings()
        Returns the object with the settings used for calls to getPrivateCloud.
      • createPrivateCloudSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreatePrivateCloudRequest,​com.google.longrunning.Operation> createPrivateCloudSettings()
        Returns the object with the settings used for calls to createPrivateCloud.
      • updatePrivateCloudSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdatePrivateCloudRequest,​com.google.longrunning.Operation> updatePrivateCloudSettings()
        Returns the object with the settings used for calls to updatePrivateCloud.
      • deletePrivateCloudSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeletePrivateCloudRequest,​com.google.longrunning.Operation> deletePrivateCloudSettings()
        Returns the object with the settings used for calls to deletePrivateCloud.
      • undeletePrivateCloudSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UndeletePrivateCloudRequest,​com.google.longrunning.Operation> undeletePrivateCloudSettings()
        Returns the object with the settings used for calls to undeletePrivateCloud.
      • getClusterSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetClusterRequest,​Cluster> getClusterSettings()
        Returns the object with the settings used for calls to getCluster.
      • createClusterSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateClusterRequest,​com.google.longrunning.Operation> createClusterSettings()
        Returns the object with the settings used for calls to createCluster.
      • createClusterOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateClusterRequest,​Cluster,​OperationMetadata> createClusterOperationSettings()
        Returns the object with the settings used for calls to createCluster.
      • updateClusterSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateClusterRequest,​com.google.longrunning.Operation> updateClusterSettings()
        Returns the object with the settings used for calls to updateCluster.
      • updateClusterOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateClusterRequest,​Cluster,​OperationMetadata> updateClusterOperationSettings()
        Returns the object with the settings used for calls to updateCluster.
      • deleteClusterSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteClusterRequest,​com.google.longrunning.Operation> deleteClusterSettings()
        Returns the object with the settings used for calls to deleteCluster.
      • deleteClusterOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteClusterRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteClusterOperationSettings()
        Returns the object with the settings used for calls to deleteCluster.
      • getSubnetSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetSubnetRequest,​Subnet> getSubnetSettings()
        Returns the object with the settings used for calls to getSubnet.
      • updateSubnetSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateSubnetRequest,​com.google.longrunning.Operation> updateSubnetSettings()
        Returns the object with the settings used for calls to updateSubnet.
      • updateSubnetOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateSubnetRequest,​Subnet,​OperationMetadata> updateSubnetOperationSettings()
        Returns the object with the settings used for calls to updateSubnet.
      • getNodeTypeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetNodeTypeRequest,​NodeType> getNodeTypeSettings()
        Returns the object with the settings used for calls to getNodeType.
      • showNsxCredentialsSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ShowNsxCredentialsRequest,​Credentials> showNsxCredentialsSettings()
        Returns the object with the settings used for calls to showNsxCredentials.
      • showVcenterCredentialsSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ShowVcenterCredentialsRequest,​Credentials> showVcenterCredentialsSettings()
        Returns the object with the settings used for calls to showVcenterCredentials.
      • resetNsxCredentialsSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ResetNsxCredentialsRequest,​com.google.longrunning.Operation> resetNsxCredentialsSettings()
        Returns the object with the settings used for calls to resetNsxCredentials.
      • resetVcenterCredentialsSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ResetVcenterCredentialsRequest,​com.google.longrunning.Operation> resetVcenterCredentialsSettings()
        Returns the object with the settings used for calls to resetVcenterCredentials.
      • createHcxActivationKeySettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateHcxActivationKeyRequest,​com.google.longrunning.Operation> createHcxActivationKeySettings()
        Returns the object with the settings used for calls to createHcxActivationKey.
      • getHcxActivationKeySettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetHcxActivationKeyRequest,​HcxActivationKey> getHcxActivationKeySettings()
        Returns the object with the settings used for calls to getHcxActivationKey.
      • getNetworkPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetNetworkPolicyRequest,​NetworkPolicy> getNetworkPolicySettings()
        Returns the object with the settings used for calls to getNetworkPolicy.
      • createNetworkPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateNetworkPolicyRequest,​com.google.longrunning.Operation> createNetworkPolicySettings()
        Returns the object with the settings used for calls to createNetworkPolicy.
      • updateNetworkPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateNetworkPolicyRequest,​com.google.longrunning.Operation> updateNetworkPolicySettings()
        Returns the object with the settings used for calls to updateNetworkPolicy.
      • deleteNetworkPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteNetworkPolicyRequest,​com.google.longrunning.Operation> deleteNetworkPolicySettings()
        Returns the object with the settings used for calls to deleteNetworkPolicy.
      • deleteNetworkPolicyOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteNetworkPolicyRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteNetworkPolicyOperationSettings()
        Returns the object with the settings used for calls to deleteNetworkPolicy.
      • createVmwareEngineNetworkSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateVmwareEngineNetworkRequest,​com.google.longrunning.Operation> createVmwareEngineNetworkSettings()
        Returns the object with the settings used for calls to createVmwareEngineNetwork.
      • updateVmwareEngineNetworkSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateVmwareEngineNetworkRequest,​com.google.longrunning.Operation> updateVmwareEngineNetworkSettings()
        Returns the object with the settings used for calls to updateVmwareEngineNetwork.
      • deleteVmwareEngineNetworkSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteVmwareEngineNetworkRequest,​com.google.longrunning.Operation> deleteVmwareEngineNetworkSettings()
        Returns the object with the settings used for calls to deleteVmwareEngineNetwork.
      • deleteVmwareEngineNetworkOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteVmwareEngineNetworkRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteVmwareEngineNetworkOperationSettings()
        Returns the object with the settings used for calls to deleteVmwareEngineNetwork.
      • getVmwareEngineNetworkSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetVmwareEngineNetworkRequest,​VmwareEngineNetwork> getVmwareEngineNetworkSettings()
        Returns the object with the settings used for calls to getVmwareEngineNetwork.
      • createPrivateConnectionSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreatePrivateConnectionRequest,​com.google.longrunning.Operation> createPrivateConnectionSettings()
        Returns the object with the settings used for calls to createPrivateConnection.
      • getPrivateConnectionSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetPrivateConnectionRequest,​PrivateConnection> getPrivateConnectionSettings()
        Returns the object with the settings used for calls to getPrivateConnection.
      • updatePrivateConnectionSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdatePrivateConnectionRequest,​com.google.longrunning.Operation> updatePrivateConnectionSettings()
        Returns the object with the settings used for calls to updatePrivateConnection.
      • deletePrivateConnectionSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeletePrivateConnectionRequest,​com.google.longrunning.Operation> deletePrivateConnectionSettings()
        Returns the object with the settings used for calls to deletePrivateConnection.
      • deletePrivateConnectionOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeletePrivateConnectionRequest,​com.google.protobuf.Empty,​OperationMetadata> deletePrivateConnectionOperationSettings()
        Returns the object with the settings used for calls to deletePrivateConnection.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​VmwareEngineClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the object with the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the object with the settings used for calls to getLocation.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,​com.google.iam.v1.Policy> setIamPolicySettings()
        Returns the object with the settings used for calls to setIamPolicy.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,​com.google.iam.v1.Policy> getIamPolicySettings()
        Returns the object with the settings used for calls to getIamPolicy.
      • testIamPermissionsSettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,​com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
        Returns the object with the settings used for calls to testIamPermissions.
      • defaultExecutorProviderBuilder

        public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
        Returns a builder for the default ExecutorProvider for this service.
      • getDefaultEndpoint

        public static String getDefaultEndpoint()
        Returns the default service endpoint.
      • getDefaultServiceScopes

        public static List<String> getDefaultServiceScopes()
        Returns the default service scopes.
      • defaultCredentialsProviderBuilder

        public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
        Returns a builder for the default credentials for this service.
      • defaultGrpcTransportProviderBuilder

        public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
        Returns a builder for the default gRPC ChannelProvider for this service.
      • defaultHttpJsonTransportProviderBuilder

        @BetaApi
        public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
        Returns a builder for the default REST ChannelProvider for this service.
      • defaultTransportChannelProvider

        public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
      • defaultApiClientHeaderProviderBuilder

        @BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
        public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
      • newBuilder

        public static VmwareEngineSettings.Builder newBuilder​(com.google.api.gax.rpc.ClientContext clientContext)
        Returns a new builder for this class.