Class UpdateAttestorRequest.Builder (1.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAttestorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateAttestorRequest.Builder
Overrides

build()

public UpdateAttestorRequest build()
Returns
TypeDescription
UpdateAttestorRequest

buildPartial()

public UpdateAttestorRequest buildPartial()
Returns
TypeDescription
UpdateAttestorRequest

clear()

public UpdateAttestorRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateAttestorRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAttestorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateAttestorRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAttestorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateAttestorRequest.Builder
Overrides

clone()

public UpdateAttestorRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AttestorOrBuilder

getDefaultInstanceForType()

public UpdateAttestorRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAttestorRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the attestor field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAttestor
Returns
TypeDescription
UpdateAttestorRequest.Builder

mergeFrom(UpdateAttestorRequest other)

public UpdateAttestorRequest.Builder mergeFrom(UpdateAttestorRequest other)
Parameter
NameDescription
otherUpdateAttestorRequest
Returns
TypeDescription
UpdateAttestorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAttestorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAttestorRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateAttestorRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateAttestorRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAttestorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAttestor
Returns
TypeDescription
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
NameDescription
builderForValueAttestor.Builder
Returns
TypeDescription
UpdateAttestorRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAttestorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateAttestorRequest.Builder
Overrides

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

public UpdateAttestorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateAttestorRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAttestorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateAttestorRequest.Builder
Overrides