Class SqlAclEntry.Builder (0.16.0)

public static final class SqlAclEntry.Builder extends GeneratedMessageV3.Builder<SqlAclEntry.Builder> implements SqlAclEntryOrBuilder

An entry for an Access Control list.

Protobuf type google.events.cloud.clouddms.v1.SqlAclEntry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SqlAclEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SqlAclEntry.Builder
Overrides

build()

public SqlAclEntry build()
Returns
Type Description
SqlAclEntry

buildPartial()

public SqlAclEntry buildPartial()
Returns
Type Description
SqlAclEntry

clear()

public SqlAclEntry.Builder clear()
Returns
Type Description
SqlAclEntry.Builder
Overrides

clearExpiration()

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

clearExpireTime()

public SqlAclEntry.Builder clearExpireTime()

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
SqlAclEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public SqlAclEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SqlAclEntry.Builder
Overrides

clearLabel()

public SqlAclEntry.Builder clearLabel()

A label to identify this entry.

string label = 3;

Returns
Type Description
SqlAclEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SqlAclEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SqlAclEntry.Builder
Overrides

clearValue()

public SqlAclEntry.Builder clearValue()

The allowlisted value for the access control list.

string value = 1;

Returns
Type Description
SqlAclEntry.Builder

This builder for chaining.

clone()

public SqlAclEntry.Builder clone()
Returns
Type Description
SqlAclEntry.Builder
Overrides

getDefaultInstanceForType()

public SqlAclEntry getDefaultInstanceForType()
Returns
Type Description
SqlAclEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

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
Builder

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpireTime(Timestamp value)

public SqlAclEntry.Builder mergeExpireTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
SqlAclEntry.Builder

mergeFrom(SqlAclEntry other)

public SqlAclEntry.Builder mergeFrom(SqlAclEntry other)
Parameter
Name Description
other SqlAclEntry
Returns
Type Description
SqlAclEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SqlAclEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlAclEntry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SqlAclEntry.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SqlAclEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SqlAclEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SqlAclEntry.Builder
Overrides

setExpireTime(Timestamp value)

public SqlAclEntry.Builder setExpireTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
SqlAclEntry.Builder

setExpireTime(Timestamp.Builder builderForValue)

public SqlAclEntry.Builder setExpireTime(Timestamp.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SqlAclEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SqlAclEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SqlAclEntry.Builder
Overrides

setLabel(String value)

public SqlAclEntry.Builder setLabel(String value)

A label to identify this entry.

string label = 3;

Parameter
Name Description
value String

The label to set.

Returns
Type Description
SqlAclEntry.Builder

This builder for chaining.

setLabelBytes(ByteString value)

public SqlAclEntry.Builder setLabelBytes(ByteString value)

A label to identify this entry.

string label = 3;

Parameter
Name Description
value ByteString

The bytes for label to set.

Returns
Type Description
SqlAclEntry.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SqlAclEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SqlAclEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SqlAclEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SqlAclEntry.Builder
Overrides

setValue(String value)

public SqlAclEntry.Builder setValue(String value)

The allowlisted value for the access control list.

string value = 1;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
SqlAclEntry.Builder

This builder for chaining.

setValueBytes(ByteString value)

public SqlAclEntry.Builder setValueBytes(ByteString value)

The allowlisted value for the access control list.

string value = 1;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
SqlAclEntry.Builder

This builder for chaining.