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