public static final class ApprovalConfig.Builder extends GeneratedMessageV3.Builder<ApprovalConfig.Builder> implements ApprovalConfigOrBuilder
ApprovalConfig describes configuration for manual approval of a build.
Protobuf type google.devtools.cloudbuild.v1.ApprovalConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApprovalConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ApprovalConfig build()
buildPartial()
public ApprovalConfig buildPartial()
clear()
public ApprovalConfig.Builder clear()
Overrides
clearApprovalRequired()
public ApprovalConfig.Builder clearApprovalRequired()
Whether or not approval is needed. If this is set on a build, it will
become pending when created, and will need to be explicitly approved
to start.
bool approval_required = 1;
clearField(Descriptors.FieldDescriptor field)
public ApprovalConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ApprovalConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ApprovalConfig.Builder clone()
Overrides
getApprovalRequired()
public boolean getApprovalRequired()
Whether or not approval is needed. If this is set on a build, it will
become pending when created, and will need to be explicitly approved
to start.
bool approval_required = 1;
Returns |
---|
Type | Description |
boolean | The approvalRequired.
|
getDefaultInstanceForType()
public ApprovalConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ApprovalConfig other)
public ApprovalConfig.Builder mergeFrom(ApprovalConfig other)
public ApprovalConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ApprovalConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApprovalConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setApprovalRequired(boolean value)
public ApprovalConfig.Builder setApprovalRequired(boolean value)
Whether or not approval is needed. If this is set on a build, it will
become pending when created, and will need to be explicitly approved
to start.
bool approval_required = 1;
Parameter |
---|
Name | Description |
value | boolean
The approvalRequired to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ApprovalConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApprovalConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ApprovalConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides