public static final class UpdateAttestorRequest.Builder extends GeneratedMessageV3.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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttestorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateAttestorRequest build()
Returns
buildPartial()
public UpdateAttestorRequest buildPartial()
Returns
clear()
public UpdateAttestorRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public UpdateAttestorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAttestorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public UpdateAttestorRequest.Builder clone()
Returns
Overrides
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
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
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
getDefaultInstanceForType()
public UpdateAttestorRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateAttestorRequest other)
public UpdateAttestorRequest.Builder mergeFrom(UpdateAttestorRequest other)
Parameter
Returns
public UpdateAttestorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateAttestorRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttestorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttestorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAttestorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttestorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides