Class PacketMirroringNetworkInfo.Builder (1.58.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketMirroringNetworkInfo build()
Returns
Type Description
PacketMirroringNetworkInfo

buildPartial()

public PacketMirroringNetworkInfo buildPartial()
Returns
Type Description
PacketMirroringNetworkInfo

clear()

public PacketMirroringNetworkInfo.Builder clear()
Returns
Type Description
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
Type Description
PacketMirroringNetworkInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUrl()

public PacketMirroringNetworkInfo.Builder clearUrl()

URL of the network resource.

optional string url = 116079;

Returns
Type Description
PacketMirroringNetworkInfo.Builder

This builder for chaining.

clone()

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

getCanonicalUrl()

public String getCanonicalUrl()

[Output Only] Unique identifier for the network; 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 network; defined by the server.

optional string canonical_url = 512294820;

Returns
Type Description
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringNetworkInfo getDefaultInstanceForType()
Returns
Type Description
PacketMirroringNetworkInfo

getDescriptorForType()

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

getUrl()

public String getUrl()

URL of the network resource.

optional string url = 116079;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

URL of the network resource.

optional string url = 116079;

Returns
Type Description
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
Type Description
boolean

Whether the canonicalUrl field is set.

hasUrl()

public boolean hasUrl()

URL of the network resource.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PacketMirroringNetworkInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The canonicalUrl to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for canonicalUrl to set.

Returns
Type Description
PacketMirroringNetworkInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrl(String value)

public PacketMirroringNetworkInfo.Builder setUrl(String value)

URL of the network resource.

optional string url = 116079;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
PacketMirroringNetworkInfo.Builder

This builder for chaining.