Class Acl.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Acl.Builder>
com.google.cloud.managedkafka.v1.Acl.Builder
All Implemented Interfaces:
AclOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Acl

public static final class Acl.Builder extends com.google.protobuf.GeneratedMessage.Builder<Acl.Builder> implements AclOrBuilder
 Represents the set of ACLs for a given Kafka Resource Pattern, which consists
 of resource_type, resource_name and pattern_type.
 
Protobuf type google.cloud.managedkafka.v1.Acl
  • Method Details

    • getDescriptor

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

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

      public Acl.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.GeneratedMessage.Builder<Acl.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.GeneratedMessage.Builder<Acl.Builder>
    • getDefaultInstanceForType

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

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

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

      public Acl.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<Acl.Builder>
    • mergeFrom

      public Acl.Builder mergeFrom(Acl other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Acl.Builder>
    • mergeFrom

      public Acl.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<Acl.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name for the acl. Represents a single Resource Pattern.
       Structured like:
       projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
      
       The structure of `acl_id` defines the Resource Pattern (resource_type,
       resource_name, pattern_type) of the acl. `acl_id` is structured like one of
       the following:
      
       For acls on the cluster:
       `cluster`
      
       For acls on a single resource within the cluster:
       `topic/{resource_name}`
       `consumerGroup/{resource_name}`
       `transactionalId/{resource_name}`
      
       For acls on all resources that match a prefix:
       `topicPrefixed/{resource_name}`
       `consumerGroupPrefixed/{resource_name}`
       `transactionalIdPrefixed/{resource_name}`
      
       For acls on all resources of a given type (i.e. the wildcard literal "*"):
       `allTopics` (represents `topic/*`)
       `allConsumerGroups` (represents `consumerGroup/*`)
       `allTransactionalIds` (represents `transactionalId/*`)
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface AclOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name for the acl. Represents a single Resource Pattern.
       Structured like:
       projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
      
       The structure of `acl_id` defines the Resource Pattern (resource_type,
       resource_name, pattern_type) of the acl. `acl_id` is structured like one of
       the following:
      
       For acls on the cluster:
       `cluster`
      
       For acls on a single resource within the cluster:
       `topic/{resource_name}`
       `consumerGroup/{resource_name}`
       `transactionalId/{resource_name}`
      
       For acls on all resources that match a prefix:
       `topicPrefixed/{resource_name}`
       `consumerGroupPrefixed/{resource_name}`
       `transactionalIdPrefixed/{resource_name}`
      
       For acls on all resources of a given type (i.e. the wildcard literal "*"):
       `allTopics` (represents `topic/*`)
       `allConsumerGroups` (represents `consumerGroup/*`)
       `allTransactionalIds` (represents `transactionalId/*`)
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface AclOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Acl.Builder setName(String value)
       Identifier. The name for the acl. Represents a single Resource Pattern.
       Structured like:
       projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
      
       The structure of `acl_id` defines the Resource Pattern (resource_type,
       resource_name, pattern_type) of the acl. `acl_id` is structured like one of
       the following:
      
       For acls on the cluster:
       `cluster`
      
       For acls on a single resource within the cluster:
       `topic/{resource_name}`
       `consumerGroup/{resource_name}`
       `transactionalId/{resource_name}`
      
       For acls on all resources that match a prefix:
       `topicPrefixed/{resource_name}`
       `consumerGroupPrefixed/{resource_name}`
       `transactionalIdPrefixed/{resource_name}`
      
       For acls on all resources of a given type (i.e. the wildcard literal "*"):
       `allTopics` (represents `topic/*`)
       `allConsumerGroups` (represents `consumerGroup/*`)
       `allTransactionalIds` (represents `transactionalId/*`)
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Acl.Builder clearName()
       Identifier. The name for the acl. Represents a single Resource Pattern.
       Structured like:
       projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
      
       The structure of `acl_id` defines the Resource Pattern (resource_type,
       resource_name, pattern_type) of the acl. `acl_id` is structured like one of
       the following:
      
       For acls on the cluster:
       `cluster`
      
       For acls on a single resource within the cluster:
       `topic/{resource_name}`
       `consumerGroup/{resource_name}`
       `transactionalId/{resource_name}`
      
       For acls on all resources that match a prefix:
       `topicPrefixed/{resource_name}`
       `consumerGroupPrefixed/{resource_name}`
       `transactionalIdPrefixed/{resource_name}`
      
       For acls on all resources of a given type (i.e. the wildcard literal "*"):
       `allTopics` (represents `topic/*`)
       `allConsumerGroups` (represents `consumerGroup/*`)
       `allTransactionalIds` (represents `transactionalId/*`)
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Acl.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name for the acl. Represents a single Resource Pattern.
       Structured like:
       projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
      
       The structure of `acl_id` defines the Resource Pattern (resource_type,
       resource_name, pattern_type) of the acl. `acl_id` is structured like one of
       the following:
      
       For acls on the cluster:
       `cluster`
      
       For acls on a single resource within the cluster:
       `topic/{resource_name}`
       `consumerGroup/{resource_name}`
       `transactionalId/{resource_name}`
      
       For acls on all resources that match a prefix:
       `topicPrefixed/{resource_name}`
       `consumerGroupPrefixed/{resource_name}`
       `transactionalIdPrefixed/{resource_name}`
      
       For acls on all resources of a given type (i.e. the wildcard literal "*"):
       `allTopics` (represents `topic/*`)
       `allConsumerGroups` (represents `consumerGroup/*`)
       `allTransactionalIds` (represents `transactionalId/*`)
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getAclEntriesList

      public List<AclEntry> getAclEntriesList()
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAclEntriesList in interface AclOrBuilder
    • getAclEntriesCount

      public int getAclEntriesCount()
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAclEntriesCount in interface AclOrBuilder
    • getAclEntries

      public AclEntry getAclEntries(int index)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAclEntries in interface AclOrBuilder
    • setAclEntries

      public Acl.Builder setAclEntries(int index, AclEntry value)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • setAclEntries

      public Acl.Builder setAclEntries(int index, AclEntry.Builder builderForValue)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAclEntries

      public Acl.Builder addAclEntries(AclEntry value)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAclEntries

      public Acl.Builder addAclEntries(int index, AclEntry value)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAclEntries

      public Acl.Builder addAclEntries(AclEntry.Builder builderForValue)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAclEntries

      public Acl.Builder addAclEntries(int index, AclEntry.Builder builderForValue)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllAclEntries

      public Acl.Builder addAllAclEntries(Iterable<? extends AclEntry> values)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearAclEntries

      public Acl.Builder clearAclEntries()
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeAclEntries

      public Acl.Builder removeAclEntries(int index)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAclEntriesBuilder

      public AclEntry.Builder getAclEntriesBuilder(int index)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAclEntriesOrBuilder

      public AclEntryOrBuilder getAclEntriesOrBuilder(int index)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAclEntriesOrBuilder in interface AclOrBuilder
    • getAclEntriesOrBuilderList

      public List<? extends AclEntryOrBuilder> getAclEntriesOrBuilderList()
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAclEntriesOrBuilderList in interface AclOrBuilder
    • addAclEntriesBuilder

      public AclEntry.Builder addAclEntriesBuilder()
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAclEntriesBuilder

      public AclEntry.Builder addAclEntriesBuilder(int index)
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAclEntriesBuilderList

      public List<AclEntry.Builder> getAclEntriesBuilderList()
       Required. The ACL entries that apply to the resource pattern. The maximum
       number of allowed entries 100.
       
      repeated .google.cloud.managedkafka.v1.AclEntry acl_entries = 2 [(.google.api.field_behavior) = REQUIRED];
    • getEtag

      public String getEtag()
       Optional. `etag` is used for concurrency control. An `etag` is returned in
       the response to `GetAcl` and `CreateAcl`. Callers are required to put that
       etag in the request to `UpdateAcl` to ensure that their change will be
       applied to the same version of the acl that exists in the Kafka Cluster.
      
       A terminal 'T' character in the etag indicates that the AclEntries were
       truncated; more entries for the Acl exist on the Kafka Cluster, but can't
       be returned in the Acl due to repeated field limits.
       
      string etag = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface AclOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Optional. `etag` is used for concurrency control. An `etag` is returned in
       the response to `GetAcl` and `CreateAcl`. Callers are required to put that
       etag in the request to `UpdateAcl` to ensure that their change will be
       applied to the same version of the acl that exists in the Kafka Cluster.
      
       A terminal 'T' character in the etag indicates that the AclEntries were
       truncated; more entries for the Acl exist on the Kafka Cluster, but can't
       be returned in the Acl due to repeated field limits.
       
      string etag = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface AclOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public Acl.Builder setEtag(String value)
       Optional. `etag` is used for concurrency control. An `etag` is returned in
       the response to `GetAcl` and `CreateAcl`. Callers are required to put that
       etag in the request to `UpdateAcl` to ensure that their change will be
       applied to the same version of the acl that exists in the Kafka Cluster.
      
       A terminal 'T' character in the etag indicates that the AclEntries were
       truncated; more entries for the Acl exist on the Kafka Cluster, but can't
       be returned in the Acl due to repeated field limits.
       
      string etag = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public Acl.Builder clearEtag()
       Optional. `etag` is used for concurrency control. An `etag` is returned in
       the response to `GetAcl` and `CreateAcl`. Callers are required to put that
       etag in the request to `UpdateAcl` to ensure that their change will be
       applied to the same version of the acl that exists in the Kafka Cluster.
      
       A terminal 'T' character in the etag indicates that the AclEntries were
       truncated; more entries for the Acl exist on the Kafka Cluster, but can't
       be returned in the Acl due to repeated field limits.
       
      string etag = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public Acl.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Optional. `etag` is used for concurrency control. An `etag` is returned in
       the response to `GetAcl` and `CreateAcl`. Callers are required to put that
       etag in the request to `UpdateAcl` to ensure that their change will be
       applied to the same version of the acl that exists in the Kafka Cluster.
      
       A terminal 'T' character in the etag indicates that the AclEntries were
       truncated; more entries for the Acl exist on the Kafka Cluster, but can't
       be returned in the Acl due to repeated field limits.
       
      string etag = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getResourceType

      public String getResourceType()
       Output only. The ACL resource type derived from the name. One of: CLUSTER,
       TOPIC, GROUP, TRANSACTIONAL_ID.
       
      string resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceType in interface AclOrBuilder
      Returns:
      The resourceType.
    • getResourceTypeBytes

      public com.google.protobuf.ByteString getResourceTypeBytes()
       Output only. The ACL resource type derived from the name. One of: CLUSTER,
       TOPIC, GROUP, TRANSACTIONAL_ID.
       
      string resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceTypeBytes in interface AclOrBuilder
      Returns:
      The bytes for resourceType.
    • setResourceType

      public Acl.Builder setResourceType(String value)
       Output only. The ACL resource type derived from the name. One of: CLUSTER,
       TOPIC, GROUP, TRANSACTIONAL_ID.
       
      string resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The resourceType to set.
      Returns:
      This builder for chaining.
    • clearResourceType

      public Acl.Builder clearResourceType()
       Output only. The ACL resource type derived from the name. One of: CLUSTER,
       TOPIC, GROUP, TRANSACTIONAL_ID.
       
      string resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setResourceTypeBytes

      public Acl.Builder setResourceTypeBytes(com.google.protobuf.ByteString value)
       Output only. The ACL resource type derived from the name. One of: CLUSTER,
       TOPIC, GROUP, TRANSACTIONAL_ID.
       
      string resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for resourceType to set.
      Returns:
      This builder for chaining.
    • getResourceName

      public String getResourceName()
       Output only. The ACL resource name derived from the name. For cluster
       resource_type, this is always "kafka-cluster". Can be the wildcard literal
       "*".
       
      string resource_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceName in interface AclOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The ACL resource name derived from the name. For cluster
       resource_type, this is always "kafka-cluster". Can be the wildcard literal
       "*".
       
      string resource_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceNameBytes in interface AclOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public Acl.Builder setResourceName(String value)
       Output only. The ACL resource name derived from the name. For cluster
       resource_type, this is always "kafka-cluster". Can be the wildcard literal
       "*".
       
      string resource_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public Acl.Builder clearResourceName()
       Output only. The ACL resource name derived from the name. For cluster
       resource_type, this is always "kafka-cluster". Can be the wildcard literal
       "*".
       
      string resource_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public Acl.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Output only. The ACL resource name derived from the name. For cluster
       resource_type, this is always "kafka-cluster". Can be the wildcard literal
       "*".
       
      string resource_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.
    • getPatternType

      public String getPatternType()
       Output only. The ACL pattern type derived from the name. One of: LITERAL,
       PREFIXED.
       
      string pattern_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPatternType in interface AclOrBuilder
      Returns:
      The patternType.
    • getPatternTypeBytes

      public com.google.protobuf.ByteString getPatternTypeBytes()
       Output only. The ACL pattern type derived from the name. One of: LITERAL,
       PREFIXED.
       
      string pattern_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPatternTypeBytes in interface AclOrBuilder
      Returns:
      The bytes for patternType.
    • setPatternType

      public Acl.Builder setPatternType(String value)
       Output only. The ACL pattern type derived from the name. One of: LITERAL,
       PREFIXED.
       
      string pattern_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The patternType to set.
      Returns:
      This builder for chaining.
    • clearPatternType

      public Acl.Builder clearPatternType()
       Output only. The ACL pattern type derived from the name. One of: LITERAL,
       PREFIXED.
       
      string pattern_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPatternTypeBytes

      public Acl.Builder setPatternTypeBytes(com.google.protobuf.ByteString value)
       Output only. The ACL pattern type derived from the name. One of: LITERAL,
       PREFIXED.
       
      string pattern_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for patternType to set.
      Returns:
      This builder for chaining.