Class GkeHubMembershipServiceSettings.Builder (1.55.0)

public static class GkeHubMembershipServiceSettings.Builder extends ClientSettings.Builder<GkeHubMembershipServiceSettings,GkeHubMembershipServiceSettings.Builder>

Builder for GkeHubMembershipServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GkeHubMembershipServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(GkeHubMembershipServiceSettings settings)

protected Builder(GkeHubMembershipServiceSettings settings)
Parameter
Name Description
settings GkeHubMembershipServiceSettings

Builder(GkeHubMembershipServiceStubSettings.Builder stubSettings)

protected Builder(GkeHubMembershipServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings GkeHubMembershipServiceStubSettings.Builder

Methods

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

public GkeHubMembershipServiceSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
GkeHubMembershipServiceSettings.Builder

build()

public GkeHubMembershipServiceSettings build()
Returns
Type Description
GkeHubMembershipServiceSettings
Overrides
Exceptions
Type Description
IOException

createMembershipOperationSettings()

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

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

Returns
Type Description
Builder<CreateMembershipRequest,Membership,OperationMetadata>

createMembershipSettings()

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

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

Returns
Type Description
Builder<CreateMembershipRequest,Operation>

deleteMembershipOperationSettings()

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

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

Returns
Type Description
Builder<DeleteMembershipRequest,Empty,OperationMetadata>

deleteMembershipSettings()

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

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

Returns
Type Description
Builder<DeleteMembershipRequest,Operation>

generateConnectManifestSettings()

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

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

Returns
Type Description
Builder<GenerateConnectManifestRequest,GenerateConnectManifestResponse>

generateExclusivityManifestSettings()

public UnaryCallSettings.Builder<GenerateExclusivityManifestRequest,GenerateExclusivityManifestResponse> generateExclusivityManifestSettings()

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

Returns
Type Description
Builder<GenerateExclusivityManifestRequest,GenerateExclusivityManifestResponse>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getMembershipSettings()

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

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

Returns
Type Description
Builder<GetMembershipRequest,Membership>

getStubSettingsBuilder()

public GkeHubMembershipServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
GkeHubMembershipServiceStubSettings.Builder

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,GkeHubMembershipServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listMembershipsSettings()

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

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

Returns
Type Description
Builder<ListMembershipsRequest,ListMembershipsResponse,ListMembershipsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateMembershipOperationSettings()

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

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

Returns
Type Description
Builder<UpdateMembershipRequest,Membership,OperationMetadata>

updateMembershipSettings()

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

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

Returns
Type Description
Builder<UpdateMembershipRequest,Operation>

validateExclusivitySettings()

public UnaryCallSettings.Builder<ValidateExclusivityRequest,ValidateExclusivityResponse> validateExclusivitySettings()

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

Returns
Type Description
Builder<ValidateExclusivityRequest,ValidateExclusivityResponse>