Class Service.UpdateAttestorRequest.Builder (1.30.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Service.UpdateAttestorRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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