Class GetPacketMirroringRequest.Builder (1.52.0)

public static final class GetPacketMirroringRequest.Builder extends GeneratedMessageV3.Builder<GetPacketMirroringRequest.Builder> implements GetPacketMirroringRequestOrBuilder

A request message for PacketMirrorings.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetPacketMirroringRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetPacketMirroringRequest build()
Returns
Type Description
GetPacketMirroringRequest

buildPartial()

public GetPacketMirroringRequest buildPartial()
Returns
Type Description
GetPacketMirroringRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPacketMirroring()

public GetPacketMirroringRequest.Builder clearPacketMirroring()

Name of the PacketMirroring resource to return.

string packet_mirroring = 22305996 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetPacketMirroringRequest.Builder

This builder for chaining.

clearProject()

public GetPacketMirroringRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetPacketMirroringRequest.Builder

This builder for chaining.

clearRegion()

public GetPacketMirroringRequest.Builder clearRegion()

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetPacketMirroringRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetPacketMirroringRequest getDefaultInstanceForType()
Returns
Type Description
GetPacketMirroringRequest

getDescriptorForType()

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

getPacketMirroring()

public String getPacketMirroring()

Name of the PacketMirroring resource to return.

string packet_mirroring = 22305996 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The packetMirroring.

getPacketMirroringBytes()

public ByteString getPacketMirroringBytes()

Name of the PacketMirroring resource to return.

string packet_mirroring = 22305996 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for packetMirroring.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getRegion()

public String getRegion()

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetPacketMirroringRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPacketMirroring(String value)

public GetPacketMirroringRequest.Builder setPacketMirroring(String value)

Name of the PacketMirroring resource to return.

string packet_mirroring = 22305996 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The packetMirroring to set.

Returns
Type Description
GetPacketMirroringRequest.Builder

This builder for chaining.

setPacketMirroringBytes(ByteString value)

public GetPacketMirroringRequest.Builder setPacketMirroringBytes(ByteString value)

Name of the PacketMirroring resource to return.

string packet_mirroring = 22305996 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for packetMirroring to set.

Returns
Type Description
GetPacketMirroringRequest.Builder

This builder for chaining.

setProject(String value)

public GetPacketMirroringRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetPacketMirroringRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetPacketMirroringRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetPacketMirroringRequest.Builder

This builder for chaining.

setRegion(String value)

public GetPacketMirroringRequest.Builder setRegion(String value)

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetPacketMirroringRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetPacketMirroringRequest.Builder setRegionBytes(ByteString value)

Name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetPacketMirroringRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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