Class Service.UpdateAttestorRequest.Builder (1.59.0)

publicstaticfinalclassService.UpdateAttestorRequest.BuilderextendsGeneratedMessageV3.Builder<Service.UpdateAttestorRequest.Builder>implementsService.UpdateAttestorRequestOrBuilder

Request message for [BinauthzManagementService.UpdateAttestor][].

Protobuf type google.cloud.binaryauthorization.v1.UpdateAttestorRequest

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicService.UpdateAttestorRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

build()

publicService.UpdateAttestorRequestbuild()
Returns
TypeDescription
Service.UpdateAttestorRequest

buildPartial()

publicService.UpdateAttestorRequestbuildPartial()
Returns
TypeDescription
Service.UpdateAttestorRequest

clear()

publicService.UpdateAttestorRequest.Builderclear()
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

clearAttestor()

publicService.UpdateAttestorRequest.BuilderclearAttestor()

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)

publicService.UpdateAttestorRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicService.UpdateAttestorRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

clone()

publicService.UpdateAttestorRequest.Builderclone()
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

getAttestor()

publicResources.AttestorgetAttestor()

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()

publicResources.Attestor.BuildergetAttestorBuilder()

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()

publicResources.AttestorOrBuildergetAttestorOrBuilder()

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()

publicService.UpdateAttestorRequestgetDefaultInstanceForType()
Returns
TypeDescription
Service.UpdateAttestorRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasAttestor()

publicbooleanhasAttestor()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAttestor(Resources.Attestor value)

publicService.UpdateAttestorRequest.BuildermergeAttestor(Resources.Attestorvalue)

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)

publicService.UpdateAttestorRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

publicService.UpdateAttestorRequest.BuildermergeFrom(Messageother)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

mergeFrom(Service.UpdateAttestorRequest other)

publicService.UpdateAttestorRequest.BuildermergeFrom(Service.UpdateAttestorRequestother)
Parameter
NameDescription
otherService.UpdateAttestorRequest
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalService.UpdateAttestorRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

setAttestor(Resources.Attestor value)

publicService.UpdateAttestorRequest.BuildersetAttestor(Resources.Attestorvalue)

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)

publicService.UpdateAttestorRequest.BuildersetAttestor(Resources.Attestor.BuilderbuilderForValue)

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)

publicService.UpdateAttestorRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

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

publicService.UpdateAttestorRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalService.UpdateAttestorRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Service.UpdateAttestorRequest.Builder
Overrides