Class DeleteBranchRuleRequest.Builder (0.24.0)

public static final class DeleteBranchRuleRequest.Builder extends GeneratedMessageV3.Builder<DeleteBranchRuleRequest.Builder> implements DeleteBranchRuleRequestOrBuilder

DeleteBranchRuleRequest is the request to delete a branch rule.

Protobuf type google.cloud.securesourcemanager.v1.DeleteBranchRuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteBranchRuleRequest build()
Returns
Type Description
DeleteBranchRuleRequest

buildPartial()

public DeleteBranchRuleRequest buildPartial()
Returns
Type Description
DeleteBranchRuleRequest

clear()

public DeleteBranchRuleRequest.Builder clear()
Returns
Type Description
DeleteBranchRuleRequest.Builder
Overrides

clearAllowMissing()

public DeleteBranchRuleRequest.Builder clearAllowMissing()

Optional. If set to true, and the branch rule is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeleteBranchRuleRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteBranchRuleRequest.Builder clearName()

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeleteBranchRuleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DeleteBranchRuleRequest.Builder clone()
Returns
Type Description
DeleteBranchRuleRequest.Builder
Overrides

getAllowMissing()

public boolean getAllowMissing()

Optional. If set to true, and the branch rule is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMissing.

getDefaultInstanceForType()

public DeleteBranchRuleRequest getDefaultInstanceForType()
Returns
Type Description
DeleteBranchRuleRequest

getDescriptorForType()

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

getName()

public String getName()

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteBranchRuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAllowMissing(boolean value)

public DeleteBranchRuleRequest.Builder setAllowMissing(boolean value)

Optional. If set to true, and the branch rule is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
DeleteBranchRuleRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteBranchRuleRequest.Builder setName(String value)

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteBranchRuleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteBranchRuleRequest.Builder setNameBytes(ByteString value)

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteBranchRuleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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