Class SqlAclEntry.Builder (2.17.0)

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

An entry for an Access Control list.

Protobuf type google.cloud.clouddms.v1.SqlAclEntry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SqlAclEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

build()

public SqlAclEntry build()
Returns
TypeDescription
SqlAclEntry

buildPartial()

public SqlAclEntry buildPartial()
Returns
TypeDescription
SqlAclEntry

clear()

public SqlAclEntry.Builder clear()
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

clearExpiration()

public SqlAclEntry.Builder clearExpiration()
Returns
TypeDescription
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
TypeDescription
SqlAclEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public SqlAclEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

clearLabel()

public SqlAclEntry.Builder clearLabel()

A label to identify this entry.

string label = 3;

Returns
TypeDescription
SqlAclEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SqlAclEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

clearTtl()

public SqlAclEntry.Builder clearTtl()

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

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

Returns
TypeDescription
SqlAclEntry.Builder

clearValue()

public SqlAclEntry.Builder clearValue()

The allowlisted value for the access control list.

string value = 1;

Returns
TypeDescription
SqlAclEntry.Builder

This builder for chaining.

clone()

public SqlAclEntry.Builder clone()
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

getDefaultInstanceForType()

public SqlAclEntry getDefaultInstanceForType()
Returns
TypeDescription
SqlAclEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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
TypeDescription
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
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.

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.

getTtlBuilder()

public Duration.Builder getTtlBuilder()

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

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

Returns
TypeDescription
Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
SqlAclEntry.Builder

mergeFrom(SqlAclEntry other)

public SqlAclEntry.Builder mergeFrom(SqlAclEntry other)
Parameter
NameDescription
otherSqlAclEntry
Returns
TypeDescription
SqlAclEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SqlAclEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlAclEntry.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SqlAclEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

mergeTtl(Duration value)

public SqlAclEntry.Builder mergeTtl(Duration value)

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

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

Parameter
NameDescription
valueDuration
Returns
TypeDescription
SqlAclEntry.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SqlAclEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
SqlAclEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SqlAclEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

setLabel(String value)

public SqlAclEntry.Builder setLabel(String value)

A label to identify this entry.

string label = 3;

Parameter
NameDescription
valueString

The label to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for label to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

setTtl(Duration value)

public SqlAclEntry.Builder setTtl(Duration value)

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

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

Parameter
NameDescription
valueDuration
Returns
TypeDescription
SqlAclEntry.Builder

setTtl(Duration.Builder builderForValue)

public SqlAclEntry.Builder setTtl(Duration.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SqlAclEntry.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SqlAclEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SqlAclEntry.Builder
Overrides

setValue(String value)

public SqlAclEntry.Builder setValue(String value)

The allowlisted value for the access control list.

string value = 1;

Parameter
NameDescription
valueString

The value to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for value to set.

Returns
TypeDescription
SqlAclEntry.Builder

This builder for chaining.