Class PacketMirroringMirroredResourceInfoSubnetInfo.Builder (1.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketMirroringMirroredResourceInfoSubnetInfo build()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo

buildPartial()

public PacketMirroringMirroredResourceInfoSubnetInfo buildPartial()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo

clear()

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder clear()
Returns
TypeDescription
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
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getCanonicalUrl()

public String getCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
String

The canonicalUrl.

getCanonicalUrlBytes()

public ByteString getCanonicalUrlBytes()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringMirroredResourceInfoSubnetInfo getDefaultInstanceForType()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the url field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PacketMirroringMirroredResourceInfoSubnetInfo other)

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder mergeFrom(PacketMirroringMirroredResourceInfoSubnetInfo other)
Parameter
NameDescription
otherPacketMirroringMirroredResourceInfoSubnetInfo
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PacketMirroringMirroredResourceInfoSubnetInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The canonicalUrl to set.

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

The bytes for canonicalUrl to set.

Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public PacketMirroringMirroredResourceInfoSubnetInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PacketMirroringMirroredResourceInfoSubnetInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The url to set.

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

The bytes for url to set.

Returns
TypeDescription
PacketMirroringMirroredResourceInfoSubnetInfo.Builder

This builder for chaining.