Class PacketMirroringMirroredResourceInfoInstanceInfo.Builder (1.43.0)

public static final class PacketMirroringMirroredResourceInfoInstanceInfo.Builder extends GeneratedMessageV3.Builder<PacketMirroringMirroredResourceInfoInstanceInfo.Builder> implements PacketMirroringMirroredResourceInfoInstanceInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PacketMirroringMirroredResourceInfoInstanceInfo.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketMirroringMirroredResourceInfoInstanceInfo build()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo

buildPartial()

public PacketMirroringMirroredResourceInfoInstanceInfo buildPartial()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo

clear()

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

clearCanonicalUrl()

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder clearCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUrl()

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder clearUrl()

Resource URL to the virtual machine instance which is being mirrored.

optional string url = 116079;

Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

This builder for chaining.

clone()

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

getCanonicalUrl()

public String getCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
String

The canonicalUrl.

getCanonicalUrlBytes()

public ByteString getCanonicalUrlBytes()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringMirroredResourceInfoInstanceInfo getDefaultInstanceForType()
Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUrl()

public String getUrl()

Resource URL to the virtual machine instance which is being mirrored.

optional string url = 116079;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Resource URL to the virtual machine instance which is being mirrored.

optional string url = 116079;

Returns
TypeDescription
ByteString

The bytes for url.

hasCanonicalUrl()

public boolean hasCanonicalUrl()

[Output Only] Unique identifier for the instance; 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 virtual machine instance which is being 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(PacketMirroringMirroredResourceInfoInstanceInfo other)

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder mergeFrom(PacketMirroringMirroredResourceInfoInstanceInfo other)
Parameter
NameDescription
otherPacketMirroringMirroredResourceInfoInstanceInfo
Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCanonicalUrl(String value)

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder setCanonicalUrl(String value)

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

optional string canonical_url = 512294820;

Parameter
NameDescription
valueString

The canonicalUrl to set.

Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

This builder for chaining.

setCanonicalUrlBytes(ByteString value)

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder setCanonicalUrlBytes(ByteString value)

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

optional string canonical_url = 512294820;

Parameter
NameDescription
valueByteString

The bytes for canonicalUrl to set.

Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrl(String value)

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder setUrl(String value)

Resource URL to the virtual machine instance which is being mirrored.

optional string url = 116079;

Parameter
NameDescription
valueString

The url to set.

Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public PacketMirroringMirroredResourceInfoInstanceInfo.Builder setUrlBytes(ByteString value)

Resource URL to the virtual machine instance which is being mirrored.

optional string url = 116079;

Parameter
NameDescription
valueByteString

The bytes for url to set.

Returns
TypeDescription
PacketMirroringMirroredResourceInfoInstanceInfo.Builder

This builder for chaining.