Class UpdateAttestorRequest.Builder (1.42.0)

public static final class UpdateAttestorRequest.Builder extends GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder> implements UpdateAttestorRequestOrBuilder

Request message for [BinauthzManagementService.UpdateAttestor][].

Protobuf type google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAttestorRequest build()
Returns
Type Description
UpdateAttestorRequest

buildPartial()

public UpdateAttestorRequest buildPartial()
Returns
Type Description
UpdateAttestorRequest

clear()

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

clearAttestor()

public UpdateAttestorRequest.Builder clearAttestor()

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

.google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAttestorRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAttestor()

public Attestor getAttestor()

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

.google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Attestor

The attestor.

getAttestorBuilder()

public Attestor.Builder getAttestorBuilder()

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

.google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Attestor.Builder

getAttestorOrBuilder()

public AttestorOrBuilder getAttestorOrBuilder()

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

.google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttestorOrBuilder

getDefaultInstanceForType()

public UpdateAttestorRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAttestorRequest

getDescriptorForType()

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

hasAttestor()

public boolean hasAttestor()

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

.google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the attestor field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAttestor(Attestor value)

public UpdateAttestorRequest.Builder mergeAttestor(Attestor value)

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

.google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Attestor
Returns
Type Description
UpdateAttestorRequest.Builder

mergeFrom(UpdateAttestorRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAttestor(Attestor value)

public UpdateAttestorRequest.Builder setAttestor(Attestor value)

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

.google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Attestor
Returns
Type Description
UpdateAttestorRequest.Builder

setAttestor(Attestor.Builder builderForValue)

public UpdateAttestorRequest.Builder setAttestor(Attestor.Builder builderForValue)

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

.google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Attestor.Builder
Returns
Type Description
UpdateAttestorRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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