Class SqlAclEntry (2.16.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
TypeDescription
int

LABEL_FIELD_NUMBER

public static final int LABEL_FIELD_NUMBER
Field Value
TypeDescription
int

TTL_FIELD_NUMBER

public static final int TTL_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SqlAclEntry getDefaultInstance()
Returns
TypeDescription
SqlAclEntry

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SqlAclEntry.Builder newBuilder()
Returns
TypeDescription
SqlAclEntry.Builder

newBuilder(SqlAclEntry prototype)

public static SqlAclEntry.Builder newBuilder(SqlAclEntry prototype)
Parameter
NameDescription
prototypeSqlAclEntry
Returns
TypeDescription
SqlAclEntry.Builder

parseDelimitedFrom(InputStream input)

public static SqlAclEntry parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlAclEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SqlAclEntry parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SqlAclEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SqlAclEntry parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SqlAclEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SqlAclEntry parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlAclEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SqlAclEntry parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlAclEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SqlAclEntry parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SqlAclEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlAclEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SqlAclEntry> parser()
Returns
TypeDescription
Parser<SqlAclEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SqlAclEntry getDefaultInstanceForType()
Returns
TypeDescription
SqlAclEntry

getExpirationCase()

public SqlAclEntry.ExpirationCase getExpirationCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getLabel()

public String getLabel()

A label to identify this entry.

string label = 3;

Returns
TypeDescription
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

A label to identify this entry.

string label = 3;

Returns
TypeDescription
ByteString

The bytes for label.

getParserForType()

public Parser<SqlAclEntry> getParserForType()
Returns
TypeDescription
Parser<SqlAclEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public String getValue()

The allowlisted value for the access control list.

string value = 1;

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

The allowlisted value for the access control list.

string value = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the ttl field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SqlAclEntry.Builder newBuilderForType()
Returns
TypeDescription
SqlAclEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SqlAclEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SqlAclEntry.Builder toBuilder()
Returns
TypeDescription
SqlAclEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException