Class RollbackTargetResponse (1.31.0)

public final class RollbackTargetResponse extends GeneratedMessageV3 implements RollbackTargetResponseOrBuilder

The response object from RollbackTarget.

Protobuf type google.cloud.deploy.v1.RollbackTargetResponse

Static Fields

ROLLBACK_CONFIG_FIELD_NUMBER

public static final int ROLLBACK_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RollbackTargetResponse getDefaultInstance()
Returns
TypeDescription
RollbackTargetResponse

getDescriptor()

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

newBuilder()

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

newBuilder(RollbackTargetResponse prototype)

public static RollbackTargetResponse.Builder newBuilder(RollbackTargetResponse prototype)
Parameter
NameDescription
prototypeRollbackTargetResponse
Returns
TypeDescription
RollbackTargetResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RollbackTargetResponse getDefaultInstanceForType()
Returns
TypeDescription
RollbackTargetResponse

getParserForType()

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

getRollbackConfig()

public RollbackTargetConfig getRollbackConfig()

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Returns
TypeDescription
RollbackTargetConfig

The rollbackConfig.

getRollbackConfigOrBuilder()

public RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder()

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Returns
TypeDescription
RollbackTargetConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasRollbackConfig()

public boolean hasRollbackConfig()

The config of the rollback Rollout created or will be created.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 1;

Returns
TypeDescription
boolean

Whether the rollbackConfig 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 RollbackTargetResponse.Builder newBuilderForType()
Returns
TypeDescription
RollbackTargetResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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