Class BranchRule.Check.Builder (0.55.0)

public static final class BranchRule.Check.Builder extends GeneratedMessage.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

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.

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 GeneratedMessage.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

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.