Class DataTableScopeInfo.Builder

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

public static final class DataTableScopeInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataTableScopeInfo.Builder> implements DataTableScopeInfoOrBuilder
 DataTableScopeInfo specifies the scope info of the data table.
 
Protobuf type google.cloud.chronicle.v1.DataTableScopeInfo
  • 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<DataTableScopeInfo.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<DataTableScopeInfo.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<DataTableScopeInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DataTableScopeInfo.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<DataTableScopeInfo.Builder>
      Throws:
      IOException
    • getDataAccessScopesList

      public com.google.protobuf.ProtocolStringList getDataAccessScopesList()
       Required. Contains the list of scope names of the data table. If the list
       is empty, the data table is treated as unscoped. The scope names should be
       full resource names and should be of the format:
       "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
       
      repeated string data_access_scopes = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDataAccessScopesList in interface DataTableScopeInfoOrBuilder
      Returns:
      A list containing the dataAccessScopes.
    • getDataAccessScopesCount

      public int getDataAccessScopesCount()
       Required. Contains the list of scope names of the data table. If the list
       is empty, the data table is treated as unscoped. The scope names should be
       full resource names and should be of the format:
       "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
       
      repeated string data_access_scopes = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDataAccessScopesCount in interface DataTableScopeInfoOrBuilder
      Returns:
      The count of dataAccessScopes.
    • getDataAccessScopes

      public String getDataAccessScopes(int index)
       Required. Contains the list of scope names of the data table. If the list
       is empty, the data table is treated as unscoped. The scope names should be
       full resource names and should be of the format:
       "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
       
      repeated string data_access_scopes = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDataAccessScopes in interface DataTableScopeInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dataAccessScopes at the given index.
    • getDataAccessScopesBytes

      public com.google.protobuf.ByteString getDataAccessScopesBytes(int index)
       Required. Contains the list of scope names of the data table. If the list
       is empty, the data table is treated as unscoped. The scope names should be
       full resource names and should be of the format:
       "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
       
      repeated string data_access_scopes = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDataAccessScopesBytes in interface DataTableScopeInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dataAccessScopes at the given index.
    • setDataAccessScopes

      public DataTableScopeInfo.Builder setDataAccessScopes(int index, String value)
       Required. Contains the list of scope names of the data table. If the list
       is empty, the data table is treated as unscoped. The scope names should be
       full resource names and should be of the format:
       "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
       
      repeated string data_access_scopes = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The dataAccessScopes to set.
      Returns:
      This builder for chaining.
    • addDataAccessScopes

      public DataTableScopeInfo.Builder addDataAccessScopes(String value)
       Required. Contains the list of scope names of the data table. If the list
       is empty, the data table is treated as unscoped. The scope names should be
       full resource names and should be of the format:
       "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
       
      repeated string data_access_scopes = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The dataAccessScopes to add.
      Returns:
      This builder for chaining.
    • addAllDataAccessScopes

      public DataTableScopeInfo.Builder addAllDataAccessScopes(Iterable<String> values)
       Required. Contains the list of scope names of the data table. If the list
       is empty, the data table is treated as unscoped. The scope names should be
       full resource names and should be of the format:
       "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
       
      repeated string data_access_scopes = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The dataAccessScopes to add.
      Returns:
      This builder for chaining.
    • clearDataAccessScopes

      public DataTableScopeInfo.Builder clearDataAccessScopes()
       Required. Contains the list of scope names of the data table. If the list
       is empty, the data table is treated as unscoped. The scope names should be
       full resource names and should be of the format:
       "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
       
      repeated string data_access_scopes = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addDataAccessScopesBytes

      public DataTableScopeInfo.Builder addDataAccessScopesBytes(com.google.protobuf.ByteString value)
       Required. Contains the list of scope names of the data table. If the list
       is empty, the data table is treated as unscoped. The scope names should be
       full resource names and should be of the format:
       "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
       
      repeated string data_access_scopes = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the dataAccessScopes to add.
      Returns:
      This builder for chaining.