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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Service.UpdateAttestorRequest build()
Returns
TypeDescription
Service.UpdateAttestorRequest

buildPartial()

public Service.UpdateAttestorRequest buildPartial()
Returns
TypeDescription
Service.UpdateAttestorRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Service.UpdateAttestorRequest getDefaultInstanceForType()
Returns
TypeDescription
Service.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.v1.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(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
NameDescription
valueResources.Attestor
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Service.UpdateAttestorRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.UpdateAttestorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueResources.Attestor
Returns
TypeDescription
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
NameDescription
builderForValueResources.Attestor.Builder
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Service.UpdateAttestorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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