Class VpcFlowLogsServiceSettings.Builder (1.55.0)

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

Builder for VpcFlowLogsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > VpcFlowLogsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VpcFlowLogsServiceSettings settings)

protected Builder(VpcFlowLogsServiceSettings settings)
Parameter
Name Description
settings VpcFlowLogsServiceSettings

Builder(VpcFlowLogsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public VpcFlowLogsServiceSettings build()
Returns
Type Description
VpcFlowLogsServiceSettings
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>

getStubSettingsBuilder()

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

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>

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>