Class GetPacketMirroringRequest.Builder (1.8.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetPacketMirroringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetPacketMirroringRequest.Builder
Overrides

build()

public GetPacketMirroringRequest build()
Returns
TypeDescription
GetPacketMirroringRequest

buildPartial()

public GetPacketMirroringRequest buildPartial()
Returns
TypeDescription
GetPacketMirroringRequest

clear()

public GetPacketMirroringRequest.Builder clear()
Returns
TypeDescription
GetPacketMirroringRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetPacketMirroringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetPacketMirroringRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetPacketMirroringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GetPacketMirroringRequest.Builder

This builder for chaining.

clone()

public GetPacketMirroringRequest.Builder clone()
Returns
TypeDescription
GetPacketMirroringRequest.Builder
Overrides

getDefaultInstanceForType()

public GetPacketMirroringRequest getDefaultInstanceForType()
Returns
TypeDescription
GetPacketMirroringRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPacketMirroring()

public String getPacketMirroring()

Name of the PacketMirroring resource to return.

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

Returns
TypeDescription
String

The packetMirroring.

getPacketMirroringBytes()

public ByteString getPacketMirroringBytes()

Name of the PacketMirroring resource to return.

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

Returns
TypeDescription
ByteString

The bytes for packetMirroring.

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region for this request.

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

Returns
TypeDescription
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetPacketMirroringRequest other)

public GetPacketMirroringRequest.Builder mergeFrom(GetPacketMirroringRequest other)
Parameter
NameDescription
otherGetPacketMirroringRequest
Returns
TypeDescription
GetPacketMirroringRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetPacketMirroringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetPacketMirroringRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetPacketMirroringRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetPacketMirroringRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetPacketMirroringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetPacketMirroringRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetPacketMirroringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The packetMirroring to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for packetMirroring to set.

Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
valueString

The region to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetPacketMirroringRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetPacketMirroringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetPacketMirroringRequest.Builder
Overrides