Class PluginInstanceAction.ResourceConfig.Builder

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

public static final class PluginInstanceAction.ResourceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<PluginInstanceAction.ResourceConfig.Builder> implements PluginInstanceAction.ResourceConfigOrBuilder
 The configuration of resources created for a given plugin instance action.
 
Protobuf type google.cloud.apihub.v1.PluginInstanceAction.ResourceConfig
  • 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<PluginInstanceAction.ResourceConfig.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<PluginInstanceAction.ResourceConfig.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<PluginInstanceAction.ResourceConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public PluginInstanceAction.ResourceConfig.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<PluginInstanceAction.ResourceConfig.Builder>
      Throws:
      IOException
    • getActionTypeValue

      public int getActionTypeValue()
       Output only. The type of the action.
       
      .google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getActionTypeValue in interface PluginInstanceAction.ResourceConfigOrBuilder
      Returns:
      The enum numeric value on the wire for actionType.
    • setActionTypeValue

      public PluginInstanceAction.ResourceConfig.Builder setActionTypeValue(int value)
       Output only. The type of the action.
       
      .google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for actionType to set.
      Returns:
      This builder for chaining.
    • getActionType

      public ActionType getActionType()
       Output only. The type of the action.
       
      .google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getActionType in interface PluginInstanceAction.ResourceConfigOrBuilder
      Returns:
      The actionType.
    • setActionType

       Output only. The type of the action.
       
      .google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The actionType to set.
      Returns:
      This builder for chaining.
    • clearActionType

       Output only. The type of the action.
       
      .google.cloud.apihub.v1.ActionType action_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getPubsubTopic

      public String getPubsubTopic()
       Output only. The pubsub topic to publish the data to. Format is
       projects/{project}/topics/{topic}
       
      string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPubsubTopic in interface PluginInstanceAction.ResourceConfigOrBuilder
      Returns:
      The pubsubTopic.
    • getPubsubTopicBytes

      public com.google.protobuf.ByteString getPubsubTopicBytes()
       Output only. The pubsub topic to publish the data to. Format is
       projects/{project}/topics/{topic}
       
      string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPubsubTopicBytes in interface PluginInstanceAction.ResourceConfigOrBuilder
      Returns:
      The bytes for pubsubTopic.
    • setPubsubTopic

      public PluginInstanceAction.ResourceConfig.Builder setPubsubTopic(String value)
       Output only. The pubsub topic to publish the data to. Format is
       projects/{project}/topics/{topic}
       
      string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The pubsubTopic to set.
      Returns:
      This builder for chaining.
    • clearPubsubTopic

       Output only. The pubsub topic to publish the data to. Format is
       projects/{project}/topics/{topic}
       
      string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPubsubTopicBytes

      public PluginInstanceAction.ResourceConfig.Builder setPubsubTopicBytes(com.google.protobuf.ByteString value)
       Output only. The pubsub topic to publish the data to. Format is
       projects/{project}/topics/{topic}
       
      string pubsub_topic = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for pubsubTopic to set.
      Returns:
      This builder for chaining.