Class DataTableScopeInfo (0.29.0)

public final class DataTableScopeInfo extends GeneratedMessage implements DataTableScopeInfoOrBuilder

DataTableScopeInfo specifies the scope info of the data table.

Protobuf type google.cloud.chronicle.v1.DataTableScopeInfo

Static Fields

DATA_ACCESS_SCOPES_FIELD_NUMBER

public static final int DATA_ACCESS_SCOPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataTableScopeInfo getDefaultInstance()
Returns
Type Description
DataTableScopeInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataTableScopeInfo.Builder newBuilder()
Returns
Type Description
DataTableScopeInfo.Builder

newBuilder(DataTableScopeInfo prototype)

public static DataTableScopeInfo.Builder newBuilder(DataTableScopeInfo prototype)
Parameter
Name Description
prototype DataTableScopeInfo
Returns
Type Description
DataTableScopeInfo.Builder

parseDelimitedFrom(InputStream input)

public static DataTableScopeInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataTableScopeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataTableScopeInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataTableScopeInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataTableScopeInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataTableScopeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataTableScopeInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataTableScopeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataTableScopeInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataTableScopeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataTableScopeInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataTableScopeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataTableScopeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataTableScopeInfo> parser()
Returns
Type Description
Parser<DataTableScopeInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataAccessScopes(int index)

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) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dataAccessScopes at the given index.

getDataAccessScopesBytes(int index)

public 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) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dataAccessScopes at the given index.

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) = { ... }

Returns
Type Description
int

The count of dataAccessScopes.

getDataAccessScopesList()

public 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) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the dataAccessScopes.

getDefaultInstanceForType()

public DataTableScopeInfo getDefaultInstanceForType()
Returns
Type Description
DataTableScopeInfo

getParserForType()

public Parser<DataTableScopeInfo> getParserForType()
Returns
Type Description
Parser<DataTableScopeInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataTableScopeInfo.Builder newBuilderForType()
Returns
Type Description
DataTableScopeInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DataTableScopeInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataTableScopeInfo.Builder
Overrides

toBuilder()

public DataTableScopeInfo.Builder toBuilder()
Returns
Type Description
DataTableScopeInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException