Class BranchRule.Check.Builder (0.24.0)

public static final class BranchRule.Check.Builder extends GeneratedMessageV3.Builder<BranchRule.Check.Builder> implements BranchRule.CheckOrBuilder

Check is a type for status check.

Protobuf type google.cloud.securesourcemanager.v1.BranchRule.Check

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BranchRule.Check build()
Returns
Type Description
BranchRule.Check

buildPartial()

public BranchRule.Check buildPartial()
Returns
Type Description
BranchRule.Check

clear()

public BranchRule.Check.Builder clear()
Returns
Type Description
BranchRule.Check.Builder
Overrides

clearContext()

public BranchRule.Check.Builder clearContext()

Required. The context of the check.

string context = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BranchRule.Check.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BranchRule.Check.Builder clone()
Returns
Type Description
BranchRule.Check.Builder
Overrides

getContext()

public String getContext()

Required. The context of the check.

string context = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The context.

getContextBytes()

public ByteString getContextBytes()

Required. The context of the check.

string context = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for context.

getDefaultInstanceForType()

public BranchRule.Check getDefaultInstanceForType()
Returns
Type Description
BranchRule.Check

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BranchRule.Check other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setContext(String value)

public BranchRule.Check.Builder setContext(String value)

Required. The context of the check.

string context = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The context to set.

Returns
Type Description
BranchRule.Check.Builder

This builder for chaining.

setContextBytes(ByteString value)

public BranchRule.Check.Builder setContextBytes(ByteString value)

Required. The context of the check.

string context = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for context to set.

Returns
Type Description
BranchRule.Check.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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