Class Service.UpdateAttestorRequest.Builder (1.41.0)

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

Request message for [BinauthzManagementService.UpdateAttestor][].

Protobuf type google.cloud.binaryauthorization.v1.UpdateAttestorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Service.UpdateAttestorRequest build()
Returns
Type Description
Service.UpdateAttestorRequest

buildPartial()

public Service.UpdateAttestorRequest buildPartial()
Returns
Type Description
Service.UpdateAttestorRequest

clear()

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

clearAttestor()

public Service.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.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Service.UpdateAttestorRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAttestor()

public Resources.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.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Resources.Attestor

The attestor.

getAttestorBuilder()

public Resources.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.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Resources.Attestor.Builder

getAttestorOrBuilder()

public Resources.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.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Resources.AttestorOrBuilder

getDefaultInstanceForType()

public Service.UpdateAttestorRequest getDefaultInstanceForType()
Returns
Type Description
Service.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.v1.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(Resources.Attestor value)

public Service.UpdateAttestorRequest.Builder mergeAttestor(Resources.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.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Resources.Attestor
Returns
Type Description
Service.UpdateAttestorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Service.UpdateAttestorRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAttestor(Resources.Attestor value)

public Service.UpdateAttestorRequest.Builder setAttestor(Resources.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.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Resources.Attestor
Returns
Type Description
Service.UpdateAttestorRequest.Builder

setAttestor(Resources.Attestor.Builder builderForValue)

public Service.UpdateAttestorRequest.Builder setAttestor(Resources.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.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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