Class GetVpcFlowLogsConfigRequest.Builder (1.84.0)

public static final class GetVpcFlowLogsConfigRequest.Builder extends GeneratedMessage.Builder<GetVpcFlowLogsConfigRequest.Builder> implements GetVpcFlowLogsConfigRequestOrBuilder

Request for the GetVpcFlowLogsConfig method.

Protobuf type google.cloud.networkmanagement.v1beta1.GetVpcFlowLogsConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetVpcFlowLogsConfigRequest build()
Returns
Type Description
GetVpcFlowLogsConfigRequest

buildPartial()

public GetVpcFlowLogsConfigRequest buildPartial()
Returns
Type Description
GetVpcFlowLogsConfigRequest

clear()

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

clearName()

public GetVpcFlowLogsConfigRequest.Builder clearName()

Required. The resource name of the VpcFlowLogsConfig, in one of the following formats:

  • For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

  • For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

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

Returns
Type Description
GetVpcFlowLogsConfigRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetVpcFlowLogsConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetVpcFlowLogsConfigRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the VpcFlowLogsConfig, in one of the following formats:

  • For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

  • For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the VpcFlowLogsConfig, in one of the following formats:

  • For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

  • For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetVpcFlowLogsConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetVpcFlowLogsConfigRequest.Builder setName(String value)

Required. The resource name of the VpcFlowLogsConfig, in one of the following formats:

  • For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

  • For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetVpcFlowLogsConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetVpcFlowLogsConfigRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the VpcFlowLogsConfig, in one of the following formats:

  • For project-level resources: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

  • For organization-level resources: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetVpcFlowLogsConfigRequest.Builder

This builder for chaining.