Class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo (1.46.0)

public final class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo extends GeneratedMessageV3 implements SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder

Protobuf type google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

Static Fields

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo getDefaultInstance()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

getDescriptor()

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

newBuilder()

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder newBuilder()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

newBuilder(SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo prototype)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder newBuilder(SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo prototype)
Parameter
NameDescription
prototypeSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

parseDelimitedFrom(InputStream input)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> parser()
Returns
TypeDescription
Parser<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo getDefaultInstanceForType()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo

getError()

public Status getError()

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Returns
TypeDescription
Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Returns
TypeDescription
StatusOrBuilder

getParserForType()

public Parser<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo> getParserForType()
Returns
TypeDescription
Parser<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public String getState()

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
String

The state.

getStateBytes()

public ByteString getStateBytes()

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
ByteString

The bytes for state.

hasError()

public boolean hasError()

[Output Only] If state is ABANDONED or FAILED, this field is populated.

optional .google.cloud.compute.v1.Status error = 96784904;

Returns
TypeDescription
boolean

Whether the error field is set.

hasState()

public boolean hasState()

[Output Only] Status of the action, which can be one of the following: PROPAGATING, PROPAGATED, ABANDONED, FAILED, or DONE. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
boolean

Whether the state field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder newBuilderForType()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder toBuilder()
Returns
TypeDescription
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException