Class Enrollment.Builder

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

public static final class Enrollment.Builder extends com.google.protobuf.GeneratedMessage.Builder<Enrollment.Builder> implements EnrollmentOrBuilder
 An enrollment represents a subscription for messages on a particular message
 bus. It defines a matching criteria for messages on the bus and the
 subscriber endpoint where matched messages should be delivered.
 
Protobuf type google.cloud.eventarc.v1.Enrollment
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Enrollment.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Enrollment.Builder>
    • internalGetFieldAccessorTable

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

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

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

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

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

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

      public Enrollment.Builder mergeFrom(Enrollment other)
    • isInitialized

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

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

      public String getName()
       Identifier. Resource name of the form
       projects/{project}/locations/{location}/enrollments/{enrollment}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface EnrollmentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Resource name of the form
       projects/{project}/locations/{location}/enrollments/{enrollment}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface EnrollmentOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Enrollment.Builder setName(String value)
       Identifier. Resource name of the form
       projects/{project}/locations/{location}/enrollments/{enrollment}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Enrollment.Builder clearName()
       Identifier. Resource name of the form
       projects/{project}/locations/{location}/enrollments/{enrollment}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Enrollment.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Resource name of the form
       projects/{project}/locations/{location}/enrollments/{enrollment}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getUid

      public String getUid()
       Output only. Server assigned unique identifier for the channel. The value
       is a UUID4 string and guaranteed to remain unchanged until the resource is
       deleted.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUid in interface EnrollmentOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. Server assigned unique identifier for the channel. The value
       is a UUID4 string and guaranteed to remain unchanged until the resource is
       deleted.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUidBytes in interface EnrollmentOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public Enrollment.Builder setUid(String value)
       Output only. Server assigned unique identifier for the channel. The value
       is a UUID4 string and guaranteed to remain unchanged until the resource is
       deleted.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public Enrollment.Builder clearUid()
       Output only. Server assigned unique identifier for the channel. The value
       is a UUID4 string and guaranteed to remain unchanged until the resource is
       deleted.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUidBytes

      public Enrollment.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. Server assigned unique identifier for the channel. The value
       is a UUID4 string and guaranteed to remain unchanged until the resource is
       deleted.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • getEtag

      public String getEtag()
       Output only. This checksum is computed by the server based on the value of
       other fields, and might be sent only on update and delete requests to
       ensure that the client has an up-to-date value before proceeding.
       
      string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtag in interface EnrollmentOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Output only. This checksum is computed by the server based on the value of
       other fields, and might be sent only on update and delete requests to
       ensure that the client has an up-to-date value before proceeding.
       
      string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtagBytes in interface EnrollmentOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public Enrollment.Builder setEtag(String value)
       Output only. This checksum is computed by the server based on the value of
       other fields, and might be sent only on update and delete requests to
       ensure that the client has an up-to-date value before proceeding.
       
      string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public Enrollment.Builder clearEtag()
       Output only. This checksum is computed by the server based on the value of
       other fields, and might be sent only on update and delete requests to
       ensure that the client has an up-to-date value before proceeding.
       
      string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public Enrollment.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Output only. This checksum is computed by the server based on the value of
       other fields, and might be sent only on update and delete requests to
       ensure that the client has an up-to-date value before proceeding.
       
      string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface EnrollmentOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface EnrollmentOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Enrollment.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Enrollment.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Enrollment.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Enrollment.Builder clearCreateTime()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface EnrollmentOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface EnrollmentOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface EnrollmentOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Enrollment.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Enrollment.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Enrollment.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Enrollment.Builder clearUpdateTime()
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The last-modified time.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface EnrollmentOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: EnrollmentOrBuilder
       Optional. Resource labels.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface EnrollmentOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Resource labels.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface EnrollmentOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface EnrollmentOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Resource labels.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface EnrollmentOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Resource labels.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface EnrollmentOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Resource labels.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface EnrollmentOrBuilder
    • clearLabels

      public Enrollment.Builder clearLabels()
    • removeLabels

      public Enrollment.Builder removeLabels(String key)
       Optional. Resource labels.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Enrollment.Builder putLabels(String key, String value)
       Optional. Resource labels.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Enrollment.Builder putAllLabels(Map<String,String> values)
       Optional. Resource labels.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: EnrollmentOrBuilder
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface EnrollmentOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface EnrollmentOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface EnrollmentOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface EnrollmentOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface EnrollmentOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface EnrollmentOrBuilder
    • clearAnnotations

      public Enrollment.Builder clearAnnotations()
    • removeAnnotations

      public Enrollment.Builder removeAnnotations(String key)
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      public Enrollment.Builder putAnnotations(String key, String value)
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAnnotations

      public Enrollment.Builder putAllAnnotations(Map<String,String> values)
       Optional. Resource annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getDisplayName

      public String getDisplayName()
       Optional. Resource display name.
       
      string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface EnrollmentOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Resource display name.
       
      string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayNameBytes in interface EnrollmentOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Enrollment.Builder setDisplayName(String value)
       Optional. Resource display name.
       
      string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Enrollment.Builder clearDisplayName()
       Optional. Resource display name.
       
      string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Enrollment.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. Resource display name.
       
      string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getCelMatch

      public String getCelMatch()
       Required. A CEL expression identifying which messages this enrollment
       applies to.
       
      string cel_match = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCelMatch in interface EnrollmentOrBuilder
      Returns:
      The celMatch.
    • getCelMatchBytes

      public com.google.protobuf.ByteString getCelMatchBytes()
       Required. A CEL expression identifying which messages this enrollment
       applies to.
       
      string cel_match = 9 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCelMatchBytes in interface EnrollmentOrBuilder
      Returns:
      The bytes for celMatch.
    • setCelMatch

      public Enrollment.Builder setCelMatch(String value)
       Required. A CEL expression identifying which messages this enrollment
       applies to.
       
      string cel_match = 9 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The celMatch to set.
      Returns:
      This builder for chaining.
    • clearCelMatch

      public Enrollment.Builder clearCelMatch()
       Required. A CEL expression identifying which messages this enrollment
       applies to.
       
      string cel_match = 9 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCelMatchBytes

      public Enrollment.Builder setCelMatchBytes(com.google.protobuf.ByteString value)
       Required. A CEL expression identifying which messages this enrollment
       applies to.
       
      string cel_match = 9 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for celMatch to set.
      Returns:
      This builder for chaining.
    • getMessageBus

      public String getMessageBus()
       Required. Immutable. Resource name of the message bus identifying the
       source of the messages. It matches the form
       projects/{project}/locations/{location}/messageBuses/{messageBus}.
       
      string message_bus = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getMessageBus in interface EnrollmentOrBuilder
      Returns:
      The messageBus.
    • getMessageBusBytes

      public com.google.protobuf.ByteString getMessageBusBytes()
       Required. Immutable. Resource name of the message bus identifying the
       source of the messages. It matches the form
       projects/{project}/locations/{location}/messageBuses/{messageBus}.
       
      string message_bus = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getMessageBusBytes in interface EnrollmentOrBuilder
      Returns:
      The bytes for messageBus.
    • setMessageBus

      public Enrollment.Builder setMessageBus(String value)
       Required. Immutable. Resource name of the message bus identifying the
       source of the messages. It matches the form
       projects/{project}/locations/{location}/messageBuses/{messageBus}.
       
      string message_bus = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The messageBus to set.
      Returns:
      This builder for chaining.
    • clearMessageBus

      public Enrollment.Builder clearMessageBus()
       Required. Immutable. Resource name of the message bus identifying the
       source of the messages. It matches the form
       projects/{project}/locations/{location}/messageBuses/{messageBus}.
       
      string message_bus = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setMessageBusBytes

      public Enrollment.Builder setMessageBusBytes(com.google.protobuf.ByteString value)
       Required. Immutable. Resource name of the message bus identifying the
       source of the messages. It matches the form
       projects/{project}/locations/{location}/messageBuses/{messageBus}.
       
      string message_bus = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for messageBus to set.
      Returns:
      This builder for chaining.
    • getDestination

      public String getDestination()
       Required. Destination is the Pipeline that the Enrollment is delivering to.
       It must point to the full resource name of a Pipeline. Format:
       "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
       
      string destination = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestination in interface EnrollmentOrBuilder
      Returns:
      The destination.
    • getDestinationBytes

      public com.google.protobuf.ByteString getDestinationBytes()
       Required. Destination is the Pipeline that the Enrollment is delivering to.
       It must point to the full resource name of a Pipeline. Format:
       "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
       
      string destination = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestinationBytes in interface EnrollmentOrBuilder
      Returns:
      The bytes for destination.
    • setDestination

      public Enrollment.Builder setDestination(String value)
       Required. Destination is the Pipeline that the Enrollment is delivering to.
       It must point to the full resource name of a Pipeline. Format:
       "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
       
      string destination = 11 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The destination to set.
      Returns:
      This builder for chaining.
    • clearDestination

      public Enrollment.Builder clearDestination()
       Required. Destination is the Pipeline that the Enrollment is delivering to.
       It must point to the full resource name of a Pipeline. Format:
       "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
       
      string destination = 11 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDestinationBytes

      public Enrollment.Builder setDestinationBytes(com.google.protobuf.ByteString value)
       Required. Destination is the Pipeline that the Enrollment is delivering to.
       It must point to the full resource name of a Pipeline. Format:
       "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
       
      string destination = 11 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for destination to set.
      Returns:
      This builder for chaining.