Class CreateDataAccessScopeRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateDataAccessScopeRequest.Builder>
com.google.cloud.chronicle.v1.CreateDataAccessScopeRequest.Builder
All Implemented Interfaces:
CreateDataAccessScopeRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateDataAccessScopeRequest

public static final class CreateDataAccessScopeRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateDataAccessScopeRequest.Builder> implements CreateDataAccessScopeRequestOrBuilder
 Request message for CreateDataAccessScope.
 
Protobuf type google.cloud.chronicle.v1.CreateDataAccessScopeRequest
  • 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<CreateDataAccessScopeRequest.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<CreateDataAccessScopeRequest.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<CreateDataAccessScopeRequest.Builder>
    • getDefaultInstanceForType

      public CreateDataAccessScopeRequest 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 CreateDataAccessScopeRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CreateDataAccessScopeRequest.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<CreateDataAccessScopeRequest.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<CreateDataAccessScopeRequest.Builder>
    • mergeFrom

      public CreateDataAccessScopeRequest.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<CreateDataAccessScopeRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent resource where this Data Access Scope will be created.
       Format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateDataAccessScopeRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource where this Data Access Scope will be created.
       Format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateDataAccessScopeRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateDataAccessScopeRequest.Builder setParent(String value)
       Required. The parent resource where this Data Access Scope will be created.
       Format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The parent resource where this Data Access Scope will be created.
       Format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateDataAccessScopeRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource where this Data Access Scope will be created.
       Format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasDataAccessScope

      public boolean hasDataAccessScope()
       Required. Data access scope to create.
       
      .google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDataAccessScope in interface CreateDataAccessScopeRequestOrBuilder
      Returns:
      Whether the dataAccessScope field is set.
    • getDataAccessScope

      public DataAccessScope getDataAccessScope()
       Required. Data access scope to create.
       
      .google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataAccessScope in interface CreateDataAccessScopeRequestOrBuilder
      Returns:
      The dataAccessScope.
    • setDataAccessScope

      public CreateDataAccessScopeRequest.Builder setDataAccessScope(DataAccessScope value)
       Required. Data access scope to create.
       
      .google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • setDataAccessScope

      public CreateDataAccessScopeRequest.Builder setDataAccessScope(DataAccessScope.Builder builderForValue)
       Required. Data access scope to create.
       
      .google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeDataAccessScope

      public CreateDataAccessScopeRequest.Builder mergeDataAccessScope(DataAccessScope value)
       Required. Data access scope to create.
       
      .google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearDataAccessScope

      public CreateDataAccessScopeRequest.Builder clearDataAccessScope()
       Required. Data access scope to create.
       
      .google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDataAccessScopeBuilder

      public DataAccessScope.Builder getDataAccessScopeBuilder()
       Required. Data access scope to create.
       
      .google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDataAccessScopeOrBuilder

      public DataAccessScopeOrBuilder getDataAccessScopeOrBuilder()
       Required. Data access scope to create.
       
      .google.cloud.chronicle.v1.DataAccessScope data_access_scope = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataAccessScopeOrBuilder in interface CreateDataAccessScopeRequestOrBuilder
    • getDataAccessScopeId

      public String getDataAccessScopeId()
       Required. The user provided scope id which will become the last part of the
       name of the scope resource. Needs to be compliant with
       https://google.aip.dev/122
       
      string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataAccessScopeId in interface CreateDataAccessScopeRequestOrBuilder
      Returns:
      The dataAccessScopeId.
    • getDataAccessScopeIdBytes

      public com.google.protobuf.ByteString getDataAccessScopeIdBytes()
       Required. The user provided scope id which will become the last part of the
       name of the scope resource. Needs to be compliant with
       https://google.aip.dev/122
       
      string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataAccessScopeIdBytes in interface CreateDataAccessScopeRequestOrBuilder
      Returns:
      The bytes for dataAccessScopeId.
    • setDataAccessScopeId

      public CreateDataAccessScopeRequest.Builder setDataAccessScopeId(String value)
       Required. The user provided scope id which will become the last part of the
       name of the scope resource. Needs to be compliant with
       https://google.aip.dev/122
       
      string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The dataAccessScopeId to set.
      Returns:
      This builder for chaining.
    • clearDataAccessScopeId

      public CreateDataAccessScopeRequest.Builder clearDataAccessScopeId()
       Required. The user provided scope id which will become the last part of the
       name of the scope resource. Needs to be compliant with
       https://google.aip.dev/122
       
      string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDataAccessScopeIdBytes

      public CreateDataAccessScopeRequest.Builder setDataAccessScopeIdBytes(com.google.protobuf.ByteString value)
       Required. The user provided scope id which will become the last part of the
       name of the scope resource. Needs to be compliant with
       https://google.aip.dev/122
       
      string data_access_scope_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for dataAccessScopeId to set.
      Returns:
      This builder for chaining.