Class CreateVpcFlowLogsConfigRequest.Builder (1.53.0)

public static final class CreateVpcFlowLogsConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateVpcFlowLogsConfigRequest.Builder> implements CreateVpcFlowLogsConfigRequestOrBuilder

Request for the CreateVpcFlowLogsConfig method.

Protobuf type google.cloud.networkmanagement.v1beta1.CreateVpcFlowLogsConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateVpcFlowLogsConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder
Overrides

build()

public CreateVpcFlowLogsConfigRequest build()
Returns
Type Description
CreateVpcFlowLogsConfigRequest

buildPartial()

public CreateVpcFlowLogsConfigRequest buildPartial()
Returns
Type Description
CreateVpcFlowLogsConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateVpcFlowLogsConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateVpcFlowLogsConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder
Overrides

clearParent()

public CreateVpcFlowLogsConfigRequest.Builder clearParent()

Required. The parent resource of the VPC Flow Logs configuration to create: projects/{project_id}/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder

This builder for chaining.

clearVpcFlowLogsConfig()

public CreateVpcFlowLogsConfigRequest.Builder clearVpcFlowLogsConfig()

Required. A VpcFlowLogsConfig resource

.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder

clearVpcFlowLogsConfigId()

public CreateVpcFlowLogsConfigRequest.Builder clearVpcFlowLogsConfigId()

Required. ID of the VpcFlowLogsConfig.

string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder

This builder for chaining.

clone()

public CreateVpcFlowLogsConfigRequest.Builder clone()
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateVpcFlowLogsConfigRequest getDefaultInstanceForType()
Returns
Type Description
CreateVpcFlowLogsConfigRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource of the VPC Flow Logs configuration to create: projects/{project_id}/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the VPC Flow Logs configuration to create: projects/{project_id}/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getVpcFlowLogsConfig()

public VpcFlowLogsConfig getVpcFlowLogsConfig()

Required. A VpcFlowLogsConfig resource

.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VpcFlowLogsConfig

The vpcFlowLogsConfig.

getVpcFlowLogsConfigBuilder()

public VpcFlowLogsConfig.Builder getVpcFlowLogsConfigBuilder()

Required. A VpcFlowLogsConfig resource

.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VpcFlowLogsConfig.Builder

getVpcFlowLogsConfigId()

public String getVpcFlowLogsConfigId()

Required. ID of the VpcFlowLogsConfig.

string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The vpcFlowLogsConfigId.

getVpcFlowLogsConfigIdBytes()

public ByteString getVpcFlowLogsConfigIdBytes()

Required. ID of the VpcFlowLogsConfig.

string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for vpcFlowLogsConfigId.

getVpcFlowLogsConfigOrBuilder()

public VpcFlowLogsConfigOrBuilder getVpcFlowLogsConfigOrBuilder()

Required. A VpcFlowLogsConfig resource

.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VpcFlowLogsConfigOrBuilder

hasVpcFlowLogsConfig()

public boolean hasVpcFlowLogsConfig()

Required. A VpcFlowLogsConfig resource

.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the vpcFlowLogsConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateVpcFlowLogsConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateVpcFlowLogsConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder
Overrides

mergeVpcFlowLogsConfig(VpcFlowLogsConfig value)

public CreateVpcFlowLogsConfigRequest.Builder mergeVpcFlowLogsConfig(VpcFlowLogsConfig value)

Required. A VpcFlowLogsConfig resource

.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value VpcFlowLogsConfig
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateVpcFlowLogsConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder
Overrides

setParent(String value)

public CreateVpcFlowLogsConfigRequest.Builder setParent(String value)

Required. The parent resource of the VPC Flow Logs configuration to create: projects/{project_id}/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateVpcFlowLogsConfigRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the VPC Flow Logs configuration to create: projects/{project_id}/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateVpcFlowLogsConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateVpcFlowLogsConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder
Overrides

setVpcFlowLogsConfig(VpcFlowLogsConfig value)

public CreateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfig(VpcFlowLogsConfig value)

Required. A VpcFlowLogsConfig resource

.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value VpcFlowLogsConfig
Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder

setVpcFlowLogsConfig(VpcFlowLogsConfig.Builder builderForValue)

public CreateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfig(VpcFlowLogsConfig.Builder builderForValue)

Required. A VpcFlowLogsConfig resource

.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];

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

setVpcFlowLogsConfigId(String value)

public CreateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfigId(String value)

Required. ID of the VpcFlowLogsConfig.

string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The vpcFlowLogsConfigId to set.

Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder

This builder for chaining.

setVpcFlowLogsConfigIdBytes(ByteString value)

public CreateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfigIdBytes(ByteString value)

Required. ID of the VpcFlowLogsConfig.

string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for vpcFlowLogsConfigId to set.

Returns
Type Description
CreateVpcFlowLogsConfigRequest.Builder

This builder for chaining.