Class PacketMirroringMirroredResourceInfoSubnetInfo.Builder (1.55.0)

public static final class PacketMirroringMirroredResourceInfoSubnetInfo.Builder extends GeneratedMessageV3.Builder<PacketMirroringMirroredResourceInfoSubnetInfo.Builder> implements PacketMirroringMirroredResourceInfoSubnetInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketMirroringMirroredResourceInfoSubnetInfo build()
Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo

buildPartial()

public PacketMirroringMirroredResourceInfoSubnetInfo buildPartial()
Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo

clear()

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

clearCanonicalUrl()

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder clearCanonicalUrl()

[Output Only] Unique identifier for the subnetwork; defined by the server.

optional string canonical_url = 512294820;

Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUrl()

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder clearUrl()

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

optional string url = 116079;

Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

This builder for chaining.

clone()

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

getCanonicalUrl()

public String getCanonicalUrl()

[Output Only] Unique identifier for the subnetwork; defined by the server.

optional string canonical_url = 512294820;

Returns
Type Description
String

The canonicalUrl.

getCanonicalUrlBytes()

public ByteString getCanonicalUrlBytes()

[Output Only] Unique identifier for the subnetwork; defined by the server.

optional string canonical_url = 512294820;

Returns
Type Description
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringMirroredResourceInfoSubnetInfo getDefaultInstanceForType()
Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo

getDescriptorForType()

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

getUrl()

public String getUrl()

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

optional string url = 116079;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

optional string url = 116079;

Returns
Type Description
ByteString

The bytes for url.

hasCanonicalUrl()

public boolean hasCanonicalUrl()

[Output Only] Unique identifier for the subnetwork; defined by the server.

optional string canonical_url = 512294820;

Returns
Type Description
boolean

Whether the canonicalUrl field is set.

hasUrl()

public boolean hasUrl()

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

optional string url = 116079;

Returns
Type Description
boolean

Whether the url field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PacketMirroringMirroredResourceInfoSubnetInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCanonicalUrl(String value)

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder setCanonicalUrl(String value)

[Output Only] Unique identifier for the subnetwork; defined by the server.

optional string canonical_url = 512294820;

Parameter
Name Description
value String

The canonicalUrl to set.

Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

This builder for chaining.

setCanonicalUrlBytes(ByteString value)

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder setCanonicalUrlBytes(ByteString value)

[Output Only] Unique identifier for the subnetwork; defined by the server.

optional string canonical_url = 512294820;

Parameter
Name Description
value ByteString

The bytes for canonicalUrl to set.

Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrl(String value)

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder setUrl(String value)

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

optional string url = 116079;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder setUrlBytes(ByteString value)

Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.

optional string url = 116079;

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

This builder for chaining.