Class UpdateVpcFlowLogsConfigRequest.Builder (1.84.0)

public static final class UpdateVpcFlowLogsConfigRequest.Builder extends GeneratedMessage.Builder<UpdateVpcFlowLogsConfigRequest.Builder> implements UpdateVpcFlowLogsConfigRequestOrBuilder

Request for the UpdateVpcFlowLogsConfig method.

Protobuf type google.cloud.networkmanagement.v1.UpdateVpcFlowLogsConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateVpcFlowLogsConfigRequest build()
Returns
Type Description
UpdateVpcFlowLogsConfigRequest

buildPartial()

public UpdateVpcFlowLogsConfigRequest buildPartial()
Returns
Type Description
UpdateVpcFlowLogsConfigRequest

clear()

public UpdateVpcFlowLogsConfigRequest.Builder clear()
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder
Overrides

clearUpdateMask()

public UpdateVpcFlowLogsConfigRequest.Builder clearUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder

clearVpcFlowLogsConfig()

public UpdateVpcFlowLogsConfigRequest.Builder clearVpcFlowLogsConfig()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder

getDefaultInstanceForType()

public UpdateVpcFlowLogsConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateVpcFlowLogsConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getVpcFlowLogsConfig()

public VpcFlowLogsConfig getVpcFlowLogsConfig()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VpcFlowLogsConfig

The vpcFlowLogsConfig.

getVpcFlowLogsConfigBuilder()

public VpcFlowLogsConfig.Builder getVpcFlowLogsConfigBuilder()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VpcFlowLogsConfig.Builder

getVpcFlowLogsConfigOrBuilder()

public VpcFlowLogsConfigOrBuilder getVpcFlowLogsConfigOrBuilder()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VpcFlowLogsConfigOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

hasVpcFlowLogsConfig()

public boolean hasVpcFlowLogsConfig()

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the vpcFlowLogsConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateVpcFlowLogsConfigRequest other)

public UpdateVpcFlowLogsConfigRequest.Builder mergeFrom(UpdateVpcFlowLogsConfigRequest other)
Parameter
Name Description
other UpdateVpcFlowLogsConfigRequest
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateVpcFlowLogsConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateVpcFlowLogsConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateVpcFlowLogsConfigRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder

mergeVpcFlowLogsConfig(VpcFlowLogsConfig value)

public UpdateVpcFlowLogsConfigRequest.Builder mergeVpcFlowLogsConfig(VpcFlowLogsConfig value)

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value VpcFlowLogsConfig
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder

setUpdateMask(FieldMask value)

public UpdateVpcFlowLogsConfigRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateVpcFlowLogsConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update. At least one path must be supplied in this field. For example, to change the state of the configuration to ENABLED, specify update_mask = "state", and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder

setVpcFlowLogsConfig(VpcFlowLogsConfig value)

public UpdateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfig(VpcFlowLogsConfig value)

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value VpcFlowLogsConfig
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder

setVpcFlowLogsConfig(VpcFlowLogsConfig.Builder builderForValue)

public UpdateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfig(VpcFlowLogsConfig.Builder builderForValue)

Required. Only fields specified in update_mask are updated.

.google.cloud.networkmanagement.v1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue VpcFlowLogsConfig.Builder
Returns
Type Description
UpdateVpcFlowLogsConfigRequest.Builder