Class VpcFlowLogsServiceStubSettings.Builder (1.49.0)

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

Builder for VpcFlowLogsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > VpcFlowLogsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VpcFlowLogsServiceStubSettings settings)

protected Builder(VpcFlowLogsServiceStubSettings settings)
Parameter
Name Description
settings VpcFlowLogsServiceStubSettings

Methods

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

public VpcFlowLogsServiceStubSettings.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
VpcFlowLogsServiceStubSettings.Builder

build()

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

createVpcFlowLogsConfigOperationSettings()

public OperationCallSettings.Builder<CreateVpcFlowLogsConfigRequest,VpcFlowLogsConfig,OperationMetadata> createVpcFlowLogsConfigOperationSettings()

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

Returns
Type Description
Builder<CreateVpcFlowLogsConfigRequest,VpcFlowLogsConfig,OperationMetadata>

createVpcFlowLogsConfigSettings()

public UnaryCallSettings.Builder<CreateVpcFlowLogsConfigRequest,Operation> createVpcFlowLogsConfigSettings()

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

Returns
Type Description
Builder<CreateVpcFlowLogsConfigRequest,Operation>

deleteVpcFlowLogsConfigOperationSettings()

public OperationCallSettings.Builder<DeleteVpcFlowLogsConfigRequest,Empty,OperationMetadata> deleteVpcFlowLogsConfigOperationSettings()

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

Returns
Type Description
Builder<DeleteVpcFlowLogsConfigRequest,Empty,OperationMetadata>

deleteVpcFlowLogsConfigSettings()

public UnaryCallSettings.Builder<DeleteVpcFlowLogsConfigRequest,Operation> deleteVpcFlowLogsConfigSettings()

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

Returns
Type Description
Builder<DeleteVpcFlowLogsConfigRequest,Operation>

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>

getVpcFlowLogsConfigSettings()

public UnaryCallSettings.Builder<GetVpcFlowLogsConfigRequest,VpcFlowLogsConfig> getVpcFlowLogsConfigSettings()

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

Returns
Type Description
Builder<GetVpcFlowLogsConfigRequest,VpcFlowLogsConfig>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,VpcFlowLogsServiceClient.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>

listVpcFlowLogsConfigsSettings()

public PagedCallSettings.Builder<ListVpcFlowLogsConfigsRequest,ListVpcFlowLogsConfigsResponse,VpcFlowLogsServiceClient.ListVpcFlowLogsConfigsPagedResponse> listVpcFlowLogsConfigsSettings()

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

Returns
Type Description
Builder<ListVpcFlowLogsConfigsRequest,ListVpcFlowLogsConfigsResponse,ListVpcFlowLogsConfigsPagedResponse>

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>

unaryMethodSettingsBuilders()

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

updateVpcFlowLogsConfigOperationSettings()

public OperationCallSettings.Builder<UpdateVpcFlowLogsConfigRequest,VpcFlowLogsConfig,OperationMetadata> updateVpcFlowLogsConfigOperationSettings()

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

Returns
Type Description
Builder<UpdateVpcFlowLogsConfigRequest,VpcFlowLogsConfig,OperationMetadata>

updateVpcFlowLogsConfigSettings()

public UnaryCallSettings.Builder<UpdateVpcFlowLogsConfigRequest,Operation> updateVpcFlowLogsConfigSettings()

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

Returns
Type Description
Builder<UpdateVpcFlowLogsConfigRequest,Operation>