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
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
Field Value
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SqlAclEntry getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SqlAclEntry.Builder newBuilder()
Returns
newBuilder(SqlAclEntry prototype)
public static SqlAclEntry.Builder newBuilder(SqlAclEntry prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static SqlAclEntry parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlAclEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SqlAclEntry parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlAclEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SqlAclEntry parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlAclEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static SqlAclEntry parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlAclEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static SqlAclEntry parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlAclEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SqlAclEntry parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlAclEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SqlAclEntry> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SqlAclEntry getDefaultInstanceForType()
Returns
getExpirationCase()
public SqlAclEntry.ExpirationCase getExpirationCase()
Returns
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
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
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
getParserForType()
public Parser<SqlAclEntry> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTtl()
Input only. The time-to-leave of this access control entry.
.google.protobuf.Duration ttl = 11 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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()
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SqlAclEntry.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlAclEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SqlAclEntry.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions