Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class GDCHardwareManagementStubSettings extends StubSettings<GDCHardwareManagementStubSettings>
Settings class to configure an instance of GDCHardwareManagementStub .
The default instance has everything set to sensible defaults:
The default service address (gdchardwaremanagement.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 getOrder 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
GDCHardwareManagementStubSettings . Builder gDCHardwareManagementSettingsBuilder =
GDCHardwareManagementStubSettings . newBuilder ();
gDCHardwareManagementSettingsBuilder
. getOrderSettings ()
. setRetrySettings (
gDCHardwareManagementSettingsBuilder
. getOrderSettings ()
. getRetrySettings ()
. toBuilder ()
. setTotalTimeout ( Duration . ofSeconds ( 30 ))
. build ());
GDCHardwareManagementStubSettings gDCHardwareManagementSettings =
gDCHardwareManagementSettingsBuilder . build ();
Static Methods
public static ApiClientHeaderProvider . Builder defaultApiClientHeaderProviderBuilder ()
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider . Builder defaultCredentialsProviderBuilder ()
Returns a builder for the default credentials for this service.
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider . Builder defaultExecutorProviderBuilder ()
Returns a builder for the default ExecutorProvider for this service.
public static ApiClientHeaderProvider . Builder defaultGrpcApiClientHeaderProviderBuilder ()
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider . Builder defaultGrpcTransportProviderBuilder ()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider . Builder defaultHttpJsonApiClientHeaderProviderBuilder ()
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider . Builder defaultHttpJsonTransportProviderBuilder ()
Beta
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns a builder for the default REST ChannelProvider for this service.
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider ()
getDefaultEndpoint()
public static String getDefaultEndpoint ()
Returns the default service endpoint.
Returns
Type
Description
String
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint ()
Returns the default mTLS service endpoint.
Returns
Type
Description
String
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes ()
Returns the default service scopes.
newBuilder()
public static GDCHardwareManagementStubSettings . Builder newBuilder ()
Returns a new gRPC builder for this class.
newBuilder(ClientContext clientContext)
public static GDCHardwareManagementStubSettings . Builder newBuilder ( ClientContext clientContext )
Returns a new builder for this class.
newHttpJsonBuilder()
public static GDCHardwareManagementStubSettings . Builder newHttpJsonBuilder ()
Returns a new REST builder for this class.
Constructors
GDCHardwareManagementStubSettings(GDCHardwareManagementStubSettings.Builder settingsBuilder)
protected GDCHardwareManagementStubSettings ( GDCHardwareManagementStubSettings . Builder settingsBuilder )
Methods
public OperationCallSettings<CreateCommentRequest , Comment , OperationMetadata > createCommentOperationSettings ()
Returns the object with the settings used for calls to createComment.
public UnaryCallSettings<CreateCommentRequest , Operation > createCommentSettings ()
Returns the object with the settings used for calls to createComment.
createHardwareGroupOperationSettings()
public OperationCallSettings<CreateHardwareGroupRequest , HardwareGroup , OperationMetadata > createHardwareGroupOperationSettings ()
Returns the object with the settings used for calls to createHardwareGroup.
createHardwareGroupSettings()
public UnaryCallSettings<CreateHardwareGroupRequest , Operation > createHardwareGroupSettings ()
Returns the object with the settings used for calls to createHardwareGroup.
createHardwareOperationSettings()
public OperationCallSettings<CreateHardwareRequest , Hardware , OperationMetadata > createHardwareOperationSettings ()
Returns the object with the settings used for calls to createHardware.
createHardwareSettings()
public UnaryCallSettings<CreateHardwareRequest , Operation > createHardwareSettings ()
Returns the object with the settings used for calls to createHardware.
createOrderOperationSettings()
public OperationCallSettings<CreateOrderRequest , Order , OperationMetadata > createOrderOperationSettings ()
Returns the object with the settings used for calls to createOrder.
createOrderSettings()
public UnaryCallSettings<CreateOrderRequest , Operation > createOrderSettings ()
Returns the object with the settings used for calls to createOrder.
createSiteOperationSettings()
public OperationCallSettings<CreateSiteRequest , Site , OperationMetadata > createSiteOperationSettings ()
Returns the object with the settings used for calls to createSite.
createSiteSettings()
public UnaryCallSettings<CreateSiteRequest , Operation > createSiteSettings ()
Returns the object with the settings used for calls to createSite.
createStub()
public GDCHardwareManagementStub createStub ()
createZoneOperationSettings()
public OperationCallSettings<CreateZoneRequest , Zone , OperationMetadata > createZoneOperationSettings ()
Returns the object with the settings used for calls to createZone.
createZoneSettings()
public UnaryCallSettings<CreateZoneRequest , Operation > createZoneSettings ()
Returns the object with the settings used for calls to createZone.
deleteHardwareGroupOperationSettings()
public OperationCallSettings<DeleteHardwareGroupRequest , Empty , OperationMetadata > deleteHardwareGroupOperationSettings ()
Returns the object with the settings used for calls to deleteHardwareGroup.
deleteHardwareGroupSettings()
public UnaryCallSettings<DeleteHardwareGroupRequest , Operation > deleteHardwareGroupSettings ()
Returns the object with the settings used for calls to deleteHardwareGroup.
deleteHardwareOperationSettings()
public OperationCallSettings<DeleteHardwareRequest , Empty , OperationMetadata > deleteHardwareOperationSettings ()
Returns the object with the settings used for calls to deleteHardware.
deleteHardwareSettings()
public UnaryCallSettings<DeleteHardwareRequest , Operation > deleteHardwareSettings ()
Returns the object with the settings used for calls to deleteHardware.
deleteOrderOperationSettings()
public OperationCallSettings<DeleteOrderRequest , Empty , OperationMetadata > deleteOrderOperationSettings ()
Returns the object with the settings used for calls to deleteOrder.
deleteOrderSettings()
public UnaryCallSettings<DeleteOrderRequest , Operation > deleteOrderSettings ()
Returns the object with the settings used for calls to deleteOrder.
deleteZoneOperationSettings()
public OperationCallSettings<DeleteZoneRequest , Empty , OperationMetadata > deleteZoneOperationSettings ()
Returns the object with the settings used for calls to deleteZone.
deleteZoneSettings()
public UnaryCallSettings<DeleteZoneRequest , Operation > deleteZoneSettings ()
Returns the object with the settings used for calls to deleteZone.
getChangeLogEntrySettings()
public UnaryCallSettings<GetChangeLogEntryRequest , ChangeLogEntry > getChangeLogEntrySettings ()
Returns the object with the settings used for calls to getChangeLogEntry.
public UnaryCallSettings<GetCommentRequest , Comment > getCommentSettings ()
Returns the object with the settings used for calls to getComment.
getHardwareGroupSettings()
public UnaryCallSettings<GetHardwareGroupRequest , HardwareGroup > getHardwareGroupSettings ()
Returns the object with the settings used for calls to getHardwareGroup.
getHardwareSettings()
public UnaryCallSettings<GetHardwareRequest , Hardware > getHardwareSettings ()
Returns the object with the settings used for calls to getHardware.
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 >
getOrderSettings()
public UnaryCallSettings<GetOrderRequest , Order > getOrderSettings ()
Returns the object with the settings used for calls to getOrder.
getServiceName()
public String getServiceName ()
Returns the default service name.
Returns
Type
Description
String
Overrides
getSiteSettings()
public UnaryCallSettings<GetSiteRequest , Site > getSiteSettings ()
Returns the object with the settings used for calls to getSite.
getSkuSettings()
public UnaryCallSettings<GetSkuRequest , Sku > getSkuSettings ()
Returns the object with the settings used for calls to getSku.
getZoneSettings()
public UnaryCallSettings<GetZoneRequest , Zone > getZoneSettings ()
Returns the object with the settings used for calls to getZone.
listChangeLogEntriesSettings()
public PagedCallSettings<ListChangeLogEntriesRequest , ListChangeLogEntriesResponse , GDCHardwareManagementClient . ListChangeLogEntriesPagedResponse > listChangeLogEntriesSettings ()
Returns the object with the settings used for calls to listChangeLogEntries.
public PagedCallSettings<ListCommentsRequest , ListCommentsResponse , GDCHardwareManagementClient . ListCommentsPagedResponse > listCommentsSettings ()
Returns the object with the settings used for calls to listComments.
listHardwareGroupsSettings()
public PagedCallSettings<ListHardwareGroupsRequest , ListHardwareGroupsResponse , GDCHardwareManagementClient . ListHardwareGroupsPagedResponse > listHardwareGroupsSettings ()
Returns the object with the settings used for calls to listHardwareGroups.
listHardwareSettings()
public PagedCallSettings<ListHardwareRequest , ListHardwareResponse , GDCHardwareManagementClient . ListHardwarePagedResponse > listHardwareSettings ()
Returns the object with the settings used for calls to listHardware.
listLocationsSettings()
public PagedCallSettings<ListLocationsRequest , ListLocationsResponse , GDCHardwareManagementClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the object with the settings used for calls to listLocations.
public PagedCallSettings<ListOrdersRequest , ListOrdersResponse , GDCHardwareManagementClient . ListOrdersPagedResponse > listOrdersSettings ()
Returns the object with the settings used for calls to listOrders.
listSitesSettings()
public PagedCallSettings<ListSitesRequest , ListSitesResponse , GDCHardwareManagementClient . ListSitesPagedResponse > listSitesSettings ()
Returns the object with the settings used for calls to listSites.
listSkusSettings()
public PagedCallSettings<ListSkusRequest , ListSkusResponse , GDCHardwareManagementClient . ListSkusPagedResponse > listSkusSettings ()
Returns the object with the settings used for calls to listSkus.
listZonesSettings()
public PagedCallSettings<ListZonesRequest , ListZonesResponse , GDCHardwareManagementClient . ListZonesPagedResponse > listZonesSettings ()
Returns the object with the settings used for calls to listZones.
signalZoneStateOperationSettings()
public OperationCallSettings<SignalZoneStateRequest , Zone , OperationMetadata > signalZoneStateOperationSettings ()
Returns the object with the settings used for calls to signalZoneState.
signalZoneStateSettings()
public UnaryCallSettings<SignalZoneStateRequest , Operation > signalZoneStateSettings ()
Returns the object with the settings used for calls to signalZoneState.
submitOrderOperationSettings()
public OperationCallSettings<SubmitOrderRequest , Order , OperationMetadata > submitOrderOperationSettings ()
Returns the object with the settings used for calls to submitOrder.
submitOrderSettings()
public UnaryCallSettings<SubmitOrderRequest , Operation > submitOrderSettings ()
Returns the object with the settings used for calls to submitOrder.
toBuilder()
public GDCHardwareManagementStubSettings . Builder toBuilder ()
Returns a builder containing all the values of this settings class.
Overrides
updateHardwareGroupOperationSettings()
public OperationCallSettings<UpdateHardwareGroupRequest , HardwareGroup , OperationMetadata > updateHardwareGroupOperationSettings ()
Returns the object with the settings used for calls to updateHardwareGroup.
updateHardwareGroupSettings()
public UnaryCallSettings<UpdateHardwareGroupRequest , Operation > updateHardwareGroupSettings ()
Returns the object with the settings used for calls to updateHardwareGroup.
updateHardwareOperationSettings()
public OperationCallSettings<UpdateHardwareRequest , Hardware , OperationMetadata > updateHardwareOperationSettings ()
Returns the object with the settings used for calls to updateHardware.
updateHardwareSettings()
public UnaryCallSettings<UpdateHardwareRequest , Operation > updateHardwareSettings ()
Returns the object with the settings used for calls to updateHardware.
updateOrderOperationSettings()
public OperationCallSettings<UpdateOrderRequest , Order , OperationMetadata > updateOrderOperationSettings ()
Returns the object with the settings used for calls to updateOrder.
updateOrderSettings()
public UnaryCallSettings<UpdateOrderRequest , Operation > updateOrderSettings ()
Returns the object with the settings used for calls to updateOrder.
updateSiteOperationSettings()
public OperationCallSettings<UpdateSiteRequest , Site , OperationMetadata > updateSiteOperationSettings ()
Returns the object with the settings used for calls to updateSite.
updateSiteSettings()
public UnaryCallSettings<UpdateSiteRequest , Operation > updateSiteSettings ()
Returns the object with the settings used for calls to updateSite.
updateZoneOperationSettings()
public OperationCallSettings<UpdateZoneRequest , Zone , OperationMetadata > updateZoneOperationSettings ()
Returns the object with the settings used for calls to updateZone.
updateZoneSettings()
public UnaryCallSettings<UpdateZoneRequest , Operation > updateZoneSettings ()
Returns the object with the settings used for calls to updateZone.