Package com.google.cloud.clouddms.v1
Class SqlAclEntry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
- com.google.cloud.clouddms.v1.SqlAclEntry.Builder
-
- All Implemented Interfaces:
SqlAclEntryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SqlAclEntry
public static final class SqlAclEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder> implements SqlAclEntryOrBuilder
An entry for an Access Control list.
Protobuf typegoogle.cloud.clouddms.v1.SqlAclEntry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlAclEntry.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SqlAclEntrybuild()SqlAclEntrybuildPartial()SqlAclEntry.Builderclear()SqlAclEntry.BuilderclearExpiration()SqlAclEntry.BuilderclearExpireTime()The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.SqlAclEntry.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SqlAclEntry.BuilderclearLabel()A label to identify this entry.SqlAclEntry.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SqlAclEntry.BuilderclearTtl()Input only.SqlAclEntry.BuilderclearValue()The allowlisted value for the access control list.SqlAclEntry.Builderclone()SqlAclEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()SqlAclEntry.ExpirationCasegetExpirationCase()com.google.protobuf.TimestampgetExpireTime()The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.com.google.protobuf.Timestamp.BuildergetExpireTimeBuilder()The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.StringgetLabel()A label to identify this entry.com.google.protobuf.ByteStringgetLabelBytes()A label to identify this entry.com.google.protobuf.DurationgetTtl()Input only.com.google.protobuf.Duration.BuildergetTtlBuilder()Input only.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()Input only.StringgetValue()The allowlisted value for the access control list.com.google.protobuf.ByteStringgetValueBytes()The allowlisted value for the access control list.booleanhasExpireTime()The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.booleanhasTtl()Input only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SqlAclEntry.BuildermergeExpireTime(com.google.protobuf.Timestamp value)The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.SqlAclEntry.BuildermergeFrom(SqlAclEntry other)SqlAclEntry.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SqlAclEntry.BuildermergeFrom(com.google.protobuf.Message other)SqlAclEntry.BuildermergeTtl(com.google.protobuf.Duration value)Input only.SqlAclEntry.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SqlAclEntry.BuildersetExpireTime(com.google.protobuf.Timestamp value)The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.SqlAclEntry.BuildersetExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.SqlAclEntry.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SqlAclEntry.BuildersetLabel(String value)A label to identify this entry.SqlAclEntry.BuildersetLabelBytes(com.google.protobuf.ByteString value)A label to identify this entry.SqlAclEntry.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SqlAclEntry.BuildersetTtl(com.google.protobuf.Duration value)Input only.SqlAclEntry.BuildersetTtl(com.google.protobuf.Duration.Builder builderForValue)Input only.SqlAclEntry.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SqlAclEntry.BuildersetValue(String value)The allowlisted value for the access control list.SqlAclEntry.BuildersetValueBytes(com.google.protobuf.ByteString value)The allowlisted value for the access control list.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
clear
public SqlAclEntry.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
getDefaultInstanceForType
public SqlAclEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SqlAclEntry build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SqlAclEntry buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SqlAclEntry.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
setField
public SqlAclEntry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
clearField
public SqlAclEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
clearOneof
public SqlAclEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
setRepeatedField
public SqlAclEntry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
addRepeatedField
public SqlAclEntry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
mergeFrom
public SqlAclEntry.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SqlAclEntry.Builder>
-
mergeFrom
public SqlAclEntry.Builder mergeFrom(SqlAclEntry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
mergeFrom
public SqlAclEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SqlAclEntry.Builder>- Throws:
IOException
-
getExpirationCase
public SqlAclEntry.ExpirationCase getExpirationCase()
- Specified by:
getExpirationCasein interfaceSqlAclEntryOrBuilder
-
clearExpiration
public SqlAclEntry.Builder clearExpiration()
-
getValue
public String getValue()
The allowlisted value for the access control list.
string value = 1;- Specified by:
getValuein interfaceSqlAclEntryOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
The allowlisted value for the access control list.
string value = 1;- Specified by:
getValueBytesin interfaceSqlAclEntryOrBuilder- Returns:
- The bytes for value.
-
setValue
public SqlAclEntry.Builder setValue(String value)
The allowlisted value for the access control list.
string value = 1;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public SqlAclEntry.Builder clearValue()
The allowlisted value for the access control list.
string value = 1;- Returns:
- This builder for chaining.
-
setValueBytes
public SqlAclEntry.Builder setValueBytes(com.google.protobuf.ByteString value)
The allowlisted value for the access control list.
string value = 1;- Parameters:
value- The bytes for value to set.- Returns:
- This builder for chaining.
-
hasExpireTime
public boolean hasExpireTime()
The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.
.google.protobuf.Timestamp expire_time = 10;- Specified by:
hasExpireTimein interfaceSqlAclEntryOrBuilder- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.
.google.protobuf.Timestamp expire_time = 10;- Specified by:
getExpireTimein interfaceSqlAclEntryOrBuilder- Returns:
- The expireTime.
-
setExpireTime
public SqlAclEntry.Builder setExpireTime(com.google.protobuf.Timestamp value)
The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.
.google.protobuf.Timestamp expire_time = 10;
-
setExpireTime
public SqlAclEntry.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.
.google.protobuf.Timestamp expire_time = 10;
-
mergeExpireTime
public SqlAclEntry.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.
.google.protobuf.Timestamp expire_time = 10;
-
clearExpireTime
public SqlAclEntry.Builder clearExpireTime()
The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.
.google.protobuf.Timestamp expire_time = 10;
-
getExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.
.google.protobuf.Timestamp expire_time = 10;
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.
.google.protobuf.Timestamp expire_time = 10;- Specified by:
getExpireTimeOrBuilderin interfaceSqlAclEntryOrBuilder
-
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];- Specified by:
hasTtlin interfaceSqlAclEntryOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
public com.google.protobuf.Duration getTtl()
Input only. The time-to-leave of this access control entry.
.google.protobuf.Duration ttl = 11 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getTtlin interfaceSqlAclEntryOrBuilder- Returns:
- The ttl.
-
setTtl
public SqlAclEntry.Builder setTtl(com.google.protobuf.Duration value)
Input only. The time-to-leave of this access control entry.
.google.protobuf.Duration ttl = 11 [(.google.api.field_behavior) = INPUT_ONLY];
-
setTtl
public SqlAclEntry.Builder setTtl(com.google.protobuf.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];
-
mergeTtl
public SqlAclEntry.Builder mergeTtl(com.google.protobuf.Duration value)
Input only. The time-to-leave of this access control entry.
.google.protobuf.Duration ttl = 11 [(.google.api.field_behavior) = INPUT_ONLY];
-
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];
-
getTtlBuilder
public com.google.protobuf.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];
-
getTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
Input only. The time-to-leave of this access control entry.
.google.protobuf.Duration ttl = 11 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getTtlOrBuilderin interfaceSqlAclEntryOrBuilder
-
getLabel
public String getLabel()
A label to identify this entry.
string label = 3;- Specified by:
getLabelin interfaceSqlAclEntryOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()
A label to identify this entry.
string label = 3;- Specified by:
getLabelBytesin interfaceSqlAclEntryOrBuilder- Returns:
- The bytes for label.
-
setLabel
public SqlAclEntry.Builder setLabel(String value)
A label to identify this entry.
string label = 3;- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
public SqlAclEntry.Builder clearLabel()
A label to identify this entry.
string label = 3;- Returns:
- This builder for chaining.
-
setLabelBytes
public SqlAclEntry.Builder setLabelBytes(com.google.protobuf.ByteString value)
A label to identify this entry.
string label = 3;- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SqlAclEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
mergeUnknownFields
public final SqlAclEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
-
-