Class SqlAclEntry (2.45.0)

public final class SqlAclEntry extends GeneratedMessageV3 implements SqlAclEntryOrBuilder

An entry for an Access Control list.

Protobuf type google.cloud.clouddms.v1.SqlAclEntry

Static Fields

EXPIRE_TIME_FIELD_NUMBER

public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
Type Description
int

LABEL_FIELD_NUMBER

public static final int LABEL_FIELD_NUMBER
Field Value
Type Description
int

TTL_FIELD_NUMBER

public static final int TTL_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SqlAclEntry getDefaultInstance()
Returns
Type Description
SqlAclEntry

getDescriptor()

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

newBuilder()

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

newBuilder(SqlAclEntry prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SqlAclEntry getDefaultInstanceForType()
Returns
Type Description
SqlAclEntry

getExpirationCase()

public SqlAclEntry.ExpirationCase getExpirationCase()
Returns
Type Description
SqlAclEntry.ExpirationCase

getExpireTime()

public Timestamp getExpireTime()

The time when this access control entry expires in RFC 3339 format, for example: 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp expire_time = 10;

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

The time when this access control entry expires in RFC 3339 format, for example: 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp expire_time = 10;

Returns
Type Description
TimestampOrBuilder

getLabel()

public String getLabel()

A label to identify this entry.

string label = 3;

Returns
Type Description
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

A label to identify this entry.

string label = 3;

Returns
Type Description
ByteString

The bytes for label.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTtl()

public Duration getTtl()

Input only. The time-to-leave of this access control entry.

.google.protobuf.Duration ttl = 11 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
Duration

The ttl.

getTtlOrBuilder()

public DurationOrBuilder getTtlOrBuilder()

Input only. The time-to-leave of this access control entry.

.google.protobuf.Duration ttl = 11 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getValue()

public String getValue()

The allowlisted value for the access control list.

string value = 1;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

The allowlisted value for the access control list.

string value = 1;

Returns
Type Description
ByteString

The bytes for value.

hasExpireTime()

public boolean hasExpireTime()

The time when this access control entry expires in RFC 3339 format, for example: 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp expire_time = 10;

Returns
Type Description
boolean

Whether the expireTime field is set.

hasTtl()

public boolean hasTtl()

Input only. The time-to-leave of this access control entry.

.google.protobuf.Duration ttl = 11 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the ttl field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SqlAclEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SqlAclEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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