Class Service.UpdateAttestorRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Service.UpdateAttestorRequest.Builder>
com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Service.UpdateAttestorRequestOrBuilder, Cloneable
Enclosing class:
Service.UpdateAttestorRequest

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

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Service.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.GeneratedMessage.Builder<Service.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.GeneratedMessage.Builder<Service.UpdateAttestorRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public Service.UpdateAttestorRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.UpdateAttestorRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public Service.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<Service.UpdateAttestorRequest.Builder>
      Throws:
      IOException
    • hasAttestor

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

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

       Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
       overwrite the [attestor name][google.cloud.binaryauthorization.v1.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];
    • setAttestor

       Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
       overwrite the [attestor name][google.cloud.binaryauthorization.v1.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];
    • mergeAttestor

       Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
       overwrite the [attestor name][google.cloud.binaryauthorization.v1.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];
    • clearAttestor

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

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

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