Class UpdateAttestorRequest.Builder

  • All Implemented Interfaces:
    UpdateAttestorRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    UpdateAttestorRequest

    public static final class UpdateAttestorRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
    implements UpdateAttestorRequestOrBuilder
     Request message for [BinauthzManagementService.UpdateAttestor][].
     
    Protobuf type google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • clear

        public UpdateAttestorRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • getDefaultInstanceForType

        public UpdateAttestorRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateAttestorRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateAttestorRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public UpdateAttestorRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • clearField

        public UpdateAttestorRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • clearOneof

        public UpdateAttestorRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • setRepeatedField

        public UpdateAttestorRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • addRepeatedField

        public UpdateAttestorRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • mergeFrom

        public UpdateAttestorRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateAttestorRequest.Builder>
        Throws:
        IOException
      • hasAttestor

        public boolean hasAttestor()
         Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
         overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.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];
        Specified by:
        hasAttestor in interface UpdateAttestorRequestOrBuilder
        Returns:
        Whether the attestor field is set.
      • getAttestor

        public Attestor getAttestor()
         Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
         overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.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];
        Specified by:
        getAttestor in interface UpdateAttestorRequestOrBuilder
        Returns:
        The attestor.
      • setAttestor

        public UpdateAttestorRequest.Builder setAttestor​(Attestor value)
         Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
         overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.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];
      • setAttestor

        public UpdateAttestorRequest.Builder setAttestor​(Attestor.Builder builderForValue)
         Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
         overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.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];
      • mergeAttestor

        public UpdateAttestorRequest.Builder mergeAttestor​(Attestor value)
         Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
         overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.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];
      • clearAttestor

        public UpdateAttestorRequest.Builder clearAttestor()
         Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
         overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.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];
      • getAttestorBuilder

        public Attestor.Builder getAttestorBuilder()
         Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
         overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.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];
      • getAttestorOrBuilder

        public AttestorOrBuilder getAttestorOrBuilder()
         Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
         overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.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];
        Specified by:
        getAttestorOrBuilder in interface UpdateAttestorRequestOrBuilder
      • setUnknownFields

        public final UpdateAttestorRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>
      • mergeUnknownFields

        public final UpdateAttestorRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAttestorRequest.Builder>