Class PacketMirroringNetworkInfo.Builder (1.22.0)

public static final class PacketMirroringNetworkInfo.Builder extends GeneratedMessageV3.Builder<PacketMirroringNetworkInfo.Builder> implements PacketMirroringNetworkInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringNetworkInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketMirroringNetworkInfo build()
Returns
TypeDescription
PacketMirroringNetworkInfo

buildPartial()

public PacketMirroringNetworkInfo buildPartial()
Returns
TypeDescription
PacketMirroringNetworkInfo

clear()

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

clearCanonicalUrl()

public PacketMirroringNetworkInfo.Builder clearCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
PacketMirroringNetworkInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PacketMirroringNetworkInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PacketMirroringNetworkInfo.Builder
Overrides

clearUrl()

public PacketMirroringNetworkInfo.Builder clearUrl()

URL of the network resource.

optional string url = 116079;

Returns
TypeDescription
PacketMirroringNetworkInfo.Builder

This builder for chaining.

clone()

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

getCanonicalUrl()

public String getCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
String

The canonicalUrl.

getCanonicalUrlBytes()

public ByteString getCanonicalUrlBytes()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringNetworkInfo getDefaultInstanceForType()
Returns
TypeDescription
PacketMirroringNetworkInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUrl()

public String getUrl()

URL of the network resource.

optional string url = 116079;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

URL of the network resource.

optional string url = 116079;

Returns
TypeDescription
ByteString

The bytes for url.

hasCanonicalUrl()

public boolean hasCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
boolean

Whether the canonicalUrl field is set.

hasUrl()

public boolean hasUrl()

URL of the network resource.

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(PacketMirroringNetworkInfo other)

public PacketMirroringNetworkInfo.Builder mergeFrom(PacketMirroringNetworkInfo other)
Parameter
NameDescription
otherPacketMirroringNetworkInfo
Returns
TypeDescription
PacketMirroringNetworkInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCanonicalUrl(String value)

public PacketMirroringNetworkInfo.Builder setCanonicalUrl(String value)

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

optional string canonical_url = 512294820;

Parameter
NameDescription
valueString

The canonicalUrl to set.

Returns
TypeDescription
PacketMirroringNetworkInfo.Builder

This builder for chaining.

setCanonicalUrlBytes(ByteString value)

public PacketMirroringNetworkInfo.Builder setCanonicalUrlBytes(ByteString value)

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

optional string canonical_url = 512294820;

Parameter
NameDescription
valueByteString

The bytes for canonicalUrl to set.

Returns
TypeDescription
PacketMirroringNetworkInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrl(String value)

public PacketMirroringNetworkInfo.Builder setUrl(String value)

URL of the network resource.

optional string url = 116079;

Parameter
NameDescription
valueString

The url to set.

Returns
TypeDescription
PacketMirroringNetworkInfo.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public PacketMirroringNetworkInfo.Builder setUrlBytes(ByteString value)

URL of the network resource.

optional string url = 116079;

Parameter
NameDescription
valueByteString

The bytes for url to set.

Returns
TypeDescription
PacketMirroringNetworkInfo.Builder

This builder for chaining.