Class ApprovalConfig (3.17.0)

public final class ApprovalConfig extends GeneratedMessageV3 implements ApprovalConfigOrBuilder

ApprovalConfig describes configuration for manual approval of a build.

Protobuf type google.devtools.cloudbuild.v1.ApprovalConfig

Static Fields

APPROVAL_REQUIRED_FIELD_NUMBER

public static final int APPROVAL_REQUIRED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ApprovalConfig getDefaultInstance()
Returns
TypeDescription
ApprovalConfig

getDescriptor()

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

newBuilder()

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

newBuilder(ApprovalConfig prototype)

public static ApprovalConfig.Builder newBuilder(ApprovalConfig prototype)
Parameter
NameDescription
prototypeApprovalConfig
Returns
TypeDescription
ApprovalConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
boolean

The approvalRequired.

getDefaultInstanceForType()

public ApprovalConfig getDefaultInstanceForType()
Returns
TypeDescription
ApprovalConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 ApprovalConfig.Builder newBuilderForType()
Returns
TypeDescription
ApprovalConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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