Class BuildOperationMetadata.Builder (3.56.0)

public static final class BuildOperationMetadata.Builder extends GeneratedMessageV3.Builder<BuildOperationMetadata.Builder> implements BuildOperationMetadataOrBuilder

Metadata for build operations.

Protobuf type google.devtools.cloudbuild.v1.BuildOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BuildOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BuildOperationMetadata.Builder
Overrides

build()

public BuildOperationMetadata build()
Returns
Type Description
BuildOperationMetadata

buildPartial()

public BuildOperationMetadata buildPartial()
Returns
Type Description
BuildOperationMetadata

clear()

public BuildOperationMetadata.Builder clear()
Returns
Type Description
BuildOperationMetadata.Builder
Overrides

clearBuild()

public BuildOperationMetadata.Builder clearBuild()

The build that the operation is tracking.

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

Returns
Type Description
BuildOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public BuildOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BuildOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BuildOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BuildOperationMetadata.Builder
Overrides

clone()

public BuildOperationMetadata.Builder clone()
Returns
Type Description
BuildOperationMetadata.Builder
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.

getBuildBuilder()

public Build.Builder getBuildBuilder()

The build that the operation is tracking.

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

Returns
Type Description
Build.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBuild(Build value)

public BuildOperationMetadata.Builder mergeBuild(Build value)

The build that the operation is tracking.

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

Parameter
Name Description
value Build
Returns
Type Description
BuildOperationMetadata.Builder

mergeFrom(BuildOperationMetadata other)

public BuildOperationMetadata.Builder mergeFrom(BuildOperationMetadata other)
Parameter
Name Description
other BuildOperationMetadata
Returns
Type Description
BuildOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BuildOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BuildOperationMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BuildOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BuildOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BuildOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BuildOperationMetadata.Builder
Overrides

setBuild(Build value)

public BuildOperationMetadata.Builder setBuild(Build value)

The build that the operation is tracking.

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

Parameter
Name Description
value Build
Returns
Type Description
BuildOperationMetadata.Builder

setBuild(Build.Builder builderForValue)

public BuildOperationMetadata.Builder setBuild(Build.Builder builderForValue)

The build that the operation is tracking.

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

Parameter
Name Description
builderForValue Build.Builder
Returns
Type Description
BuildOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BuildOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BuildOperationMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BuildOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BuildOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BuildOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BuildOperationMetadata.Builder
Overrides