Class PreviewOperationMetadata (0.14.0)

public final class PreviewOperationMetadata extends GeneratedMessageV3 implements PreviewOperationMetadataOrBuilder

Ephemeral metadata content describing the state of a preview operation.

Protobuf type google.cloud.config.v1.PreviewOperationMetadata

Static Fields

BUILD_FIELD_NUMBER

public static final int BUILD_FIELD_NUMBER
Field Value
TypeDescription
int

LOGS_FIELD_NUMBER

public static final int LOGS_FIELD_NUMBER
Field Value
TypeDescription
int

PREVIEW_ARTIFACTS_FIELD_NUMBER

public static final int PREVIEW_ARTIFACTS_FIELD_NUMBER
Field Value
TypeDescription
int

STEP_FIELD_NUMBER

public static final int STEP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PreviewOperationMetadata getDefaultInstance()
Returns
TypeDescription
PreviewOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(PreviewOperationMetadata prototype)

public static PreviewOperationMetadata.Builder newBuilder(PreviewOperationMetadata prototype)
Parameter
NameDescription
prototypePreviewOperationMetadata
Returns
TypeDescription
PreviewOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBuild()

public String getBuild()

Output only. Cloud Build instance UUID associated with this preview.

string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The build.

getBuildBytes()

public ByteString getBuildBytes()

Output only. Cloud Build instance UUID associated with this preview.

string build = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for build.

getDefaultInstanceForType()

public PreviewOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
PreviewOperationMetadata

getLogs()

public String getLogs()

Output only. Location of preview logs in gs://{bucket}/{object} format.

string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The logs.

getLogsBytes()

public ByteString getLogsBytes()

Output only. Location of preview logs in gs://{bucket}/{object} format.

string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for logs.

getParserForType()

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

getPreviewArtifacts()

public PreviewArtifacts getPreviewArtifacts()

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Returns
TypeDescription
PreviewArtifacts

The previewArtifacts.

getPreviewArtifactsOrBuilder()

public PreviewArtifactsOrBuilder getPreviewArtifactsOrBuilder()

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Returns
TypeDescription
PreviewArtifactsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStep()

public PreviewOperationMetadata.PreviewStep getStep()

The current step the preview operation is running.

.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1;

Returns
TypeDescription
PreviewOperationMetadata.PreviewStep

The step.

getStepValue()

public int getStepValue()

The current step the preview operation is running.

.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep step = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for step.

hasPreviewArtifacts()

public boolean hasPreviewArtifacts()

Artifacts from preview.

.google.cloud.config.v1.PreviewArtifacts preview_artifacts = 2;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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