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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BranchRule.Check.BuilderImplements
BranchRule.CheckOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public BranchRule.Check.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BranchRule.Check.Builder |
clone()
public BranchRule.Check.Builder clone()
Returns | |
---|---|
Type | Description |
BranchRule.Check.Builder |
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 |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BranchRule.Check.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BranchRule.Check.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final BranchRule.Check.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BranchRule.Check.Builder |