Class BuildOperationMetadata.Builder (3.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BuildOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides

build()

public BuildOperationMetadata build()
Returns
TypeDescription
BuildOperationMetadata

buildPartial()

public BuildOperationMetadata buildPartial()
Returns
TypeDescription
BuildOperationMetadata

clear()

public BuildOperationMetadata.Builder clear()
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides

clearBuild()

public BuildOperationMetadata.Builder clearBuild()

The build that the operation is tracking.

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

Returns
TypeDescription
BuildOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public BuildOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BuildOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides

clone()

public BuildOperationMetadata.Builder clone()
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides

getBuild()

public Build getBuild()

The build that the operation is tracking.

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

Returns
TypeDescription
Build

The build.

getBuildBuilder()

public Build.Builder getBuildBuilder()

The build that the operation is tracking.

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

Returns
TypeDescription
Build.Builder

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBuild
Returns
TypeDescription
BuildOperationMetadata.Builder

mergeFrom(BuildOperationMetadata other)

public BuildOperationMetadata.Builder mergeFrom(BuildOperationMetadata other)
Parameter
NameDescription
otherBuildOperationMetadata
Returns
TypeDescription
BuildOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BuildOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BuildOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BuildOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBuild
Returns
TypeDescription
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
NameDescription
builderForValueBuild.Builder
Returns
TypeDescription
BuildOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BuildOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides

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

public BuildOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BuildOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BuildOperationMetadata.Builder
Overrides