Class UpdateAttestorRequest.Builder (1.84.0)

public static final class UpdateAttestorRequest.Builder extends GeneratedMessage.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

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

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 GeneratedMessage.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

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