Class BuildOperationMetadata (3.43.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static BuildOperationMetadata getDefaultInstance()
Returns
TypeDescription
BuildOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(BuildOperationMetadata prototype)

public static BuildOperationMetadata.Builder newBuilder(BuildOperationMetadata prototype)
Parameter
NameDescription
prototypeBuildOperationMetadata
Returns
TypeDescription
BuildOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBuild()

public Build getBuild()

The build that the operation is tracking.

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

Returns
TypeDescription
Build

The build.

getBuildOrBuilder()

public BuildOrBuilder getBuildOrBuilder()

The build that the operation is tracking.

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

Returns
TypeDescription
BuildOrBuilder

getDefaultInstanceForType()

public BuildOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
BuildOperationMetadata

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasBuild()

public boolean hasBuild()

The build that the operation is tracking.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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