Class GkeHubStubSettings.Builder (1.0.1)

public static class GkeHubStubSettings.Builder extends StubSettings.Builder<GkeHubStubSettings,GkeHubStubSettings.Builder>

Builder for GkeHubStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GkeHubStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GkeHubStubSettings settings)

protected Builder(GkeHubStubSettings settings)
Parameter
NameDescription
settingsGkeHubStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public GkeHubStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
GkeHubStubSettings.Builder

build()

public GkeHubStubSettings build()
Returns
TypeDescription
GkeHubStubSettings
Overrides Exceptions
TypeDescription
IOException

createFeatureOperationSettings()

public OperationCallSettings.Builder<CreateFeatureRequest,Feature,OperationMetadata> createFeatureOperationSettings()

Returns the builder for the settings used for calls to createFeature.

Returns
TypeDescription
Builder<CreateFeatureRequest,Feature,OperationMetadata>

createFeatureSettings()

public UnaryCallSettings.Builder<CreateFeatureRequest,Operation> createFeatureSettings()

Returns the builder for the settings used for calls to createFeature.

Returns
TypeDescription
Builder<CreateFeatureRequest,Operation>

createMembershipOperationSettings()

public OperationCallSettings.Builder<CreateMembershipRequest,Membership,OperationMetadata> createMembershipOperationSettings()

Returns the builder for the settings used for calls to createMembership.

Returns
TypeDescription
Builder<CreateMembershipRequest,Membership,OperationMetadata>

createMembershipSettings()

public UnaryCallSettings.Builder<CreateMembershipRequest,Operation> createMembershipSettings()

Returns the builder for the settings used for calls to createMembership.

Returns
TypeDescription
Builder<CreateMembershipRequest,Operation>

deleteFeatureOperationSettings()

public OperationCallSettings.Builder<DeleteFeatureRequest,Empty,OperationMetadata> deleteFeatureOperationSettings()

Returns the builder for the settings used for calls to deleteFeature.

Returns
TypeDescription
Builder<DeleteFeatureRequest,Empty,OperationMetadata>

deleteFeatureSettings()

public UnaryCallSettings.Builder<DeleteFeatureRequest,Operation> deleteFeatureSettings()

Returns the builder for the settings used for calls to deleteFeature.

Returns
TypeDescription
Builder<DeleteFeatureRequest,Operation>

deleteMembershipOperationSettings()

public OperationCallSettings.Builder<DeleteMembershipRequest,Empty,OperationMetadata> deleteMembershipOperationSettings()

Returns the builder for the settings used for calls to deleteMembership.

Returns
TypeDescription
Builder<DeleteMembershipRequest,Empty,OperationMetadata>

deleteMembershipSettings()

public UnaryCallSettings.Builder<DeleteMembershipRequest,Operation> deleteMembershipSettings()

Returns the builder for the settings used for calls to deleteMembership.

Returns
TypeDescription
Builder<DeleteMembershipRequest,Operation>

generateConnectManifestSettings()

public UnaryCallSettings.Builder<GenerateConnectManifestRequest,GenerateConnectManifestResponse> generateConnectManifestSettings()

Returns the builder for the settings used for calls to generateConnectManifest.

Returns
TypeDescription
Builder<GenerateConnectManifestRequest,GenerateConnectManifestResponse>

getFeatureSettings()

public UnaryCallSettings.Builder<GetFeatureRequest,Feature> getFeatureSettings()

Returns the builder for the settings used for calls to getFeature.

Returns
TypeDescription
Builder<GetFeatureRequest,Feature>

getMembershipSettings()

public UnaryCallSettings.Builder<GetMembershipRequest,Membership> getMembershipSettings()

Returns the builder for the settings used for calls to getMembership.

Returns
TypeDescription
Builder<GetMembershipRequest,Membership>

listFeaturesSettings()

public PagedCallSettings.Builder<ListFeaturesRequest,ListFeaturesResponse,GkeHubClient.ListFeaturesPagedResponse> listFeaturesSettings()

Returns the builder for the settings used for calls to listFeatures.

Returns
TypeDescription
Builder<ListFeaturesRequest,ListFeaturesResponse,ListFeaturesPagedResponse>

listMembershipsSettings()

public PagedCallSettings.Builder<ListMembershipsRequest,ListMembershipsResponse,GkeHubClient.ListMembershipsPagedResponse> listMembershipsSettings()

Returns the builder for the settings used for calls to listMemberships.

Returns
TypeDescription
Builder<ListMembershipsRequest,ListMembershipsResponse,ListMembershipsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateFeatureOperationSettings()

public OperationCallSettings.Builder<UpdateFeatureRequest,Feature,OperationMetadata> updateFeatureOperationSettings()

Returns the builder for the settings used for calls to updateFeature.

Returns
TypeDescription
Builder<UpdateFeatureRequest,Feature,OperationMetadata>

updateFeatureSettings()

public UnaryCallSettings.Builder<UpdateFeatureRequest,Operation> updateFeatureSettings()

Returns the builder for the settings used for calls to updateFeature.

Returns
TypeDescription
Builder<UpdateFeatureRequest,Operation>

updateMembershipOperationSettings()

public OperationCallSettings.Builder<UpdateMembershipRequest,Membership,OperationMetadata> updateMembershipOperationSettings()

Returns the builder for the settings used for calls to updateMembership.

Returns
TypeDescription
Builder<UpdateMembershipRequest,Membership,OperationMetadata>

updateMembershipSettings()

public UnaryCallSettings.Builder<UpdateMembershipRequest,Operation> updateMembershipSettings()

Returns the builder for the settings used for calls to updateMembership.

Returns
TypeDescription
Builder<UpdateMembershipRequest,Operation>