Class GlobalNetworkEndpointGroupsSettings (1.6.0-beta)

public class GlobalNetworkEndpointGroupsSettings extends ClientSettings<GlobalNetworkEndpointGroupsSettings>

Settings class to configure an instance of GlobalNetworkEndpointGroupsClient.

The default instance has everything set to sensible defaults:

  • The default service address (compute.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 get to 30 seconds:


 GlobalNetworkEndpointGroupsSettings.Builder globalNetworkEndpointGroupsSettingsBuilder =
     GlobalNetworkEndpointGroupsSettings.newBuilder();
 globalNetworkEndpointGroupsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         globalNetworkEndpointGroupsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 GlobalNetworkEndpointGroupsSettings globalNetworkEndpointGroupsSettings =
     globalNetworkEndpointGroupsSettingsBuilder.build();
 

Inheritance

java.lang.Object > ClientSettings > GlobalNetworkEndpointGroupsSettings

Constructors

GlobalNetworkEndpointGroupsSettings(GlobalNetworkEndpointGroupsSettings.Builder settingsBuilder)

protected GlobalNetworkEndpointGroupsSettings(GlobalNetworkEndpointGroupsSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderGlobalNetworkEndpointGroupsSettings.Builder

Methods

attachNetworkEndpointsOperationSettings()

public OperationCallSettings<AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation,Operation> attachNetworkEndpointsOperationSettings()

Returns the object with the settings used for calls to attachNetworkEndpoints.

Returns
TypeDescription
OperationCallSettings<AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation,Operation>

attachNetworkEndpointsSettings()

public UnaryCallSettings<AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation> attachNetworkEndpointsSettings()

Returns the object with the settings used for calls to attachNetworkEndpoints.

Returns
TypeDescription
UnaryCallSettings<AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation>

create(GlobalNetworkEndpointGroupsStubSettings stub)

public static final GlobalNetworkEndpointGroupsSettings create(GlobalNetworkEndpointGroupsStubSettings stub)
Parameter
NameDescription
stubGlobalNetworkEndpointGroupsStubSettings
Returns
TypeDescription
GlobalNetworkEndpointGroupsSettings
Exceptions
TypeDescription
IOException

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

Returns a builder for the default ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

deleteOperationSettings()

public OperationCallSettings<DeleteGlobalNetworkEndpointGroupRequest,Operation,Operation> deleteOperationSettings()

Returns the object with the settings used for calls to delete.

Returns
TypeDescription
OperationCallSettings<DeleteGlobalNetworkEndpointGroupRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings<DeleteGlobalNetworkEndpointGroupRequest,Operation> deleteSettings()

Returns the object with the settings used for calls to delete.

Returns
TypeDescription
UnaryCallSettings<DeleteGlobalNetworkEndpointGroupRequest,Operation>

detachNetworkEndpointsOperationSettings()

public OperationCallSettings<DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation,Operation> detachNetworkEndpointsOperationSettings()

Returns the object with the settings used for calls to detachNetworkEndpoints.

Returns
TypeDescription
OperationCallSettings<DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation,Operation>

detachNetworkEndpointsSettings()

public UnaryCallSettings<DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation> detachNetworkEndpointsSettings()

Returns the object with the settings used for calls to detachNetworkEndpoints.

Returns
TypeDescription
UnaryCallSettings<DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation>

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

getSettings()

public UnaryCallSettings<GetGlobalNetworkEndpointGroupRequest,NetworkEndpointGroup> getSettings()

Returns the object with the settings used for calls to get.

Returns
TypeDescription
UnaryCallSettings<GetGlobalNetworkEndpointGroupRequest,NetworkEndpointGroup>

insertOperationSettings()

public OperationCallSettings<InsertGlobalNetworkEndpointGroupRequest,Operation,Operation> insertOperationSettings()

Returns the object with the settings used for calls to insert.

Returns
TypeDescription
OperationCallSettings<InsertGlobalNetworkEndpointGroupRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings<InsertGlobalNetworkEndpointGroupRequest,Operation> insertSettings()

Returns the object with the settings used for calls to insert.

Returns
TypeDescription
UnaryCallSettings<InsertGlobalNetworkEndpointGroupRequest,Operation>

listNetworkEndpointsSettings()

public PagedCallSettings<ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest,NetworkEndpointGroupsListNetworkEndpoints,GlobalNetworkEndpointGroupsClient.ListNetworkEndpointsPagedResponse> listNetworkEndpointsSettings()

Returns the object with the settings used for calls to listNetworkEndpoints.

Returns
TypeDescription
PagedCallSettings<ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest,NetworkEndpointGroupsListNetworkEndpoints,ListNetworkEndpointsPagedResponse>

listSettings()

public PagedCallSettings<ListGlobalNetworkEndpointGroupsRequest,NetworkEndpointGroupList,GlobalNetworkEndpointGroupsClient.ListPagedResponse> listSettings()

Returns the object with the settings used for calls to list.

Returns
TypeDescription
PagedCallSettings<ListGlobalNetworkEndpointGroupsRequest,NetworkEndpointGroupList,ListPagedResponse>

newBuilder()

public static GlobalNetworkEndpointGroupsSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
TypeDescription
GlobalNetworkEndpointGroupsSettings.Builder

newBuilder(ClientContext clientContext)

public static GlobalNetworkEndpointGroupsSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GlobalNetworkEndpointGroupsSettings.Builder

toBuilder()

public GlobalNetworkEndpointGroupsSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
GlobalNetworkEndpointGroupsSettings.Builder
Overrides