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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public BuildOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BuildOperationMetadata build()
Returns
public BuildOperationMetadata buildPartial()
Returns
public BuildOperationMetadata.Builder clear()
Returns
Overrides
public BuildOperationMetadata.Builder clearBuild()
The build that the operation is tracking.
.google.devtools.cloudbuild.v1.Build build = 1;
Returns
public BuildOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public BuildOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public BuildOperationMetadata.Builder clone()
Returns
Overrides
The build that the operation is tracking.
.google.devtools.cloudbuild.v1.Build build = 1;
Returns
Type | Description |
Build | The build.
|
public Build.Builder getBuildBuilder()
The build that the operation is tracking.
.google.devtools.cloudbuild.v1.Build build = 1;
Returns
public BuildOrBuilder getBuildOrBuilder()
The build that the operation is tracking.
.google.devtools.cloudbuild.v1.Build build = 1;
Returns
public BuildOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
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
public BuildOperationMetadata.Builder mergeFrom(BuildOperationMetadata other)
Parameter
Returns
public BuildOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public BuildOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final BuildOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
public BuildOperationMetadata.Builder setBuild(Build.Builder builderForValue)
The build that the operation is tracking.
.google.devtools.cloudbuild.v1.Build build = 1;
Parameter
Returns
public BuildOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BuildOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final BuildOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides