Class 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 type google.cloud.clouddms.v1.SqlAclEntry
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • clear

        public SqlAclEntry.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • getDefaultInstanceForType

        public SqlAclEntry getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SqlAclEntry build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SqlAclEntry buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public SqlAclEntry.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • setField

        public SqlAclEntry.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • clearField

        public SqlAclEntry.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • clearOneof

        public SqlAclEntry.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • setRepeatedField

        public SqlAclEntry.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    int index,
                                                    Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • addRepeatedField

        public SqlAclEntry.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • mergeFrom

        public SqlAclEntry.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SqlAclEntry.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SqlAclEntry.Builder>
        Throws:
        IOException
      • getValue

        public String getValue()
         The allowlisted value for the access control list.
         
        string value = 1;
        Specified by:
        getValue in interface SqlAclEntryOrBuilder
        Returns:
        The value.
      • getValueBytes

        public com.google.protobuf.ByteString getValueBytes()
         The allowlisted value for the access control list.
         
        string value = 1;
        Specified by:
        getValueBytes in interface SqlAclEntryOrBuilder
        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:
        hasExpireTime in interface SqlAclEntryOrBuilder
        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:
        getExpireTime in interface SqlAclEntryOrBuilder
        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:
        getExpireTimeOrBuilder in interface SqlAclEntryOrBuilder
      • 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:
        hasTtl in interface SqlAclEntryOrBuilder
        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:
        getTtl in interface SqlAclEntryOrBuilder
        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:
        getTtlOrBuilder in interface SqlAclEntryOrBuilder
      • getLabelBytes

        public com.google.protobuf.ByteString getLabelBytes()
         A label to identify this entry.
         
        string label = 3;
        Specified by:
        getLabelBytes in interface SqlAclEntryOrBuilder
        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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>
      • mergeUnknownFields

        public final SqlAclEntry.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SqlAclEntry.Builder>