Class BuildOperationMetadata (3.46.0)

public final class BuildOperationMetadata extends GeneratedMessageV3 implements BuildOperationMetadataOrBuilder

Metadata for build operations.

Protobuf type google.devtools.cloudbuild.v1.BuildOperationMetadata

Static Fields

BUILD_FIELD_NUMBER

public static final int BUILD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BuildOperationMetadata getDefaultInstance()
Returns
Type Description
BuildOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BuildOperationMetadata.Builder newBuilder()
Returns
Type Description
BuildOperationMetadata.Builder

newBuilder(BuildOperationMetadata prototype)

public static BuildOperationMetadata.Builder newBuilder(BuildOperationMetadata prototype)
Parameter
Name Description
prototype BuildOperationMetadata
Returns
Type Description
BuildOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static BuildOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BuildOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BuildOperationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BuildOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BuildOperationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BuildOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BuildOperationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BuildOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BuildOperationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BuildOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BuildOperationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BuildOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuildOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BuildOperationMetadata> parser()
Returns
Type Description
Parser<BuildOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBuild()

public Build getBuild()

The build that the operation is tracking.

.google.devtools.cloudbuild.v1.Build build = 1;

Returns
Type Description
Build

The build.

getBuildOrBuilder()

public BuildOrBuilder getBuildOrBuilder()

The build that the operation is tracking.

.google.devtools.cloudbuild.v1.Build build = 1;

Returns
Type Description
BuildOrBuilder

getDefaultInstanceForType()

public BuildOperationMetadata getDefaultInstanceForType()
Returns
Type Description
BuildOperationMetadata

getParserForType()

public Parser<BuildOperationMetadata> getParserForType()
Returns
Type Description
Parser<BuildOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBuild()

public boolean hasBuild()

The build that the operation is tracking.

.google.devtools.cloudbuild.v1.Build build = 1;

Returns
Type Description
boolean

Whether the build field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BuildOperationMetadata.Builder newBuilderForType()
Returns
Type Description
BuildOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BuildOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BuildOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BuildOperationMetadata.Builder toBuilder()
Returns
Type Description
BuildOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException