Class Plugin.Builder

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

public static final class Plugin.Builder extends com.google.protobuf.GeneratedMessage.Builder<Plugin.Builder> implements PluginOrBuilder
 A plugin resource in the API Hub.
 
Protobuf type google.cloud.apihub.v1.Plugin
  • 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<Plugin.Builder>
    • clear

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

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

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

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

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

      public Plugin.Builder mergeFrom(Plugin other)
    • isInitialized

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

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

      public String getName()
       Identifier. The name of the plugin.
       Format: `projects/{project}/locations/{location}/plugins/{plugin}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface PluginOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

      public Plugin.Builder clearName()
       Identifier. The name of the plugin.
       Format: `projects/{project}/locations/{location}/plugins/{plugin}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Plugin.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the plugin.
       Format: `projects/{project}/locations/{location}/plugins/{plugin}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The display name of the plugin. Max length is 50 characters
       (Unicode code points).
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface PluginOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name of the plugin. Max length is 50 characters
       (Unicode code points).
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface PluginOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Plugin.Builder setDisplayName(String value)
       Required. The display name of the plugin. Max length is 50 characters
       (Unicode code points).
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Plugin.Builder clearDisplayName()
       Required. The display name of the plugin. Max length is 50 characters
       (Unicode code points).
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Plugin.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The display name of the plugin. Max length is 50 characters
       (Unicode code points).
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
       Optional. The type of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-plugin-type`
       attribute.
       The number of allowed values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       Note this field is not required for plugins developed via plugin framework.
       
      .google.cloud.apihub.v1.AttributeValues type = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasType in interface PluginOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public AttributeValues getType()
       Optional. The type of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-plugin-type`
       attribute.
       The number of allowed values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       Note this field is not required for plugins developed via plugin framework.
       
      .google.cloud.apihub.v1.AttributeValues type = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getType in interface PluginOrBuilder
      Returns:
      The type.
    • setType

      public Plugin.Builder setType(AttributeValues value)
       Optional. The type of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-plugin-type`
       attribute.
       The number of allowed values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       Note this field is not required for plugins developed via plugin framework.
       
      .google.cloud.apihub.v1.AttributeValues type = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setType

      public Plugin.Builder setType(AttributeValues.Builder builderForValue)
       Optional. The type of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-plugin-type`
       attribute.
       The number of allowed values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       Note this field is not required for plugins developed via plugin framework.
       
      .google.cloud.apihub.v1.AttributeValues type = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeType

      public Plugin.Builder mergeType(AttributeValues value)
       Optional. The type of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-plugin-type`
       attribute.
       The number of allowed values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       Note this field is not required for plugins developed via plugin framework.
       
      .google.cloud.apihub.v1.AttributeValues type = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearType

      public Plugin.Builder clearType()
       Optional. The type of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-plugin-type`
       attribute.
       The number of allowed values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       Note this field is not required for plugins developed via plugin framework.
       
      .google.cloud.apihub.v1.AttributeValues type = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getTypeBuilder

      public AttributeValues.Builder getTypeBuilder()
       Optional. The type of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-plugin-type`
       attribute.
       The number of allowed values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       Note this field is not required for plugins developed via plugin framework.
       
      .google.cloud.apihub.v1.AttributeValues type = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getTypeOrBuilder

      public AttributeValuesOrBuilder getTypeOrBuilder()
       Optional. The type of the API.
       This maps to the following system defined attribute:
       `projects/{project}/locations/{location}/attributes/system-plugin-type`
       attribute.
       The number of allowed values for this attribute will be based on the
       cardinality of the attribute. The same can be retrieved via GetAttribute
       API. All values should be from the list of allowed values defined for the
       attribute.
       Note this field is not required for plugins developed via plugin framework.
       
      .google.cloud.apihub.v1.AttributeValues type = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTypeOrBuilder in interface PluginOrBuilder
    • getDescription

      public String getDescription()
       Optional. The plugin description. Max length is 2000 characters (Unicode
       code points).
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface PluginOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The plugin description. Max length is 2000 characters (Unicode
       code points).
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface PluginOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Plugin.Builder setDescription(String value)
       Optional. The plugin description. Max length is 2000 characters (Unicode
       code points).
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Plugin.Builder clearDescription()
       Optional. The plugin description. Max length is 2000 characters (Unicode
       code points).
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Plugin.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. The plugin description. Max length is 2000 characters (Unicode
       code points).
       
      string description = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. Represents the state of the plugin.
       Note this field will not be set for plugins developed via plugin
       framework as the state will be managed at plugin instance level.
       
      .google.cloud.apihub.v1.Plugin.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface PluginOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Plugin.Builder setStateValue(int value)
       Output only. Represents the state of the plugin.
       Note this field will not be set for plugins developed via plugin
       framework as the state will be managed at plugin instance level.
       
      .google.cloud.apihub.v1.Plugin.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Plugin.State getState()
       Output only. Represents the state of the plugin.
       Note this field will not be set for plugins developed via plugin
       framework as the state will be managed at plugin instance level.
       
      .google.cloud.apihub.v1.Plugin.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface PluginOrBuilder
      Returns:
      The state.
    • setState

      public Plugin.Builder setState(Plugin.State value)
       Output only. Represents the state of the plugin.
       Note this field will not be set for plugins developed via plugin
       framework as the state will be managed at plugin instance level.
       
      .google.cloud.apihub.v1.Plugin.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Plugin.Builder clearState()
       Output only. Represents the state of the plugin.
       Note this field will not be set for plugins developed via plugin
       framework as the state will be managed at plugin instance level.
       
      .google.cloud.apihub.v1.Plugin.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getOwnershipTypeValue

      public int getOwnershipTypeValue()
       Output only. The type of the plugin, indicating whether it is
       'SYSTEM_OWNED' or 'USER_OWNED'.
       
      .google.cloud.apihub.v1.Plugin.OwnershipType ownership_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOwnershipTypeValue in interface PluginOrBuilder
      Returns:
      The enum numeric value on the wire for ownershipType.
    • setOwnershipTypeValue

      public Plugin.Builder setOwnershipTypeValue(int value)
       Output only. The type of the plugin, indicating whether it is
       'SYSTEM_OWNED' or 'USER_OWNED'.
       
      .google.cloud.apihub.v1.Plugin.OwnershipType ownership_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for ownershipType to set.
      Returns:
      This builder for chaining.
    • getOwnershipType

      public Plugin.OwnershipType getOwnershipType()
       Output only. The type of the plugin, indicating whether it is
       'SYSTEM_OWNED' or 'USER_OWNED'.
       
      .google.cloud.apihub.v1.Plugin.OwnershipType ownership_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOwnershipType in interface PluginOrBuilder
      Returns:
      The ownershipType.
    • setOwnershipType

      public Plugin.Builder setOwnershipType(Plugin.OwnershipType value)
       Output only. The type of the plugin, indicating whether it is
       'SYSTEM_OWNED' or 'USER_OWNED'.
       
      .google.cloud.apihub.v1.Plugin.OwnershipType ownership_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The ownershipType to set.
      Returns:
      This builder for chaining.
    • clearOwnershipType

      public Plugin.Builder clearOwnershipType()
       Output only. The type of the plugin, indicating whether it is
       'SYSTEM_OWNED' or 'USER_OWNED'.
       
      .google.cloud.apihub.v1.Plugin.OwnershipType ownership_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasHostingService

      public boolean hasHostingService()
       Optional. This field is optional. It is used to notify the plugin hosting
       service for any lifecycle changes of the plugin instance and trigger
       execution of plugin instance actions in case of API hub managed actions.
      
       This field should be provided if the plugin instance lifecycle of the
       developed plugin needs to be managed from API hub. Also, in this case the
       plugin hosting service interface needs to be implemented.
      
       This field should not be provided if the plugin wants to manage plugin
       instance lifecycle events outside of hub interface and use plugin framework
       for only registering of plugin and plugin instances to capture the source
       of data into hub. Note, in this case the plugin hosting service interface
       is not required to be implemented. Also, the plugin instance lifecycle
       actions will be disabled from API hub's UI.
       
      .google.cloud.apihub.v1.Plugin.HostingService hosting_service = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasHostingService in interface PluginOrBuilder
      Returns:
      Whether the hostingService field is set.
    • getHostingService

      public Plugin.HostingService getHostingService()
       Optional. This field is optional. It is used to notify the plugin hosting
       service for any lifecycle changes of the plugin instance and trigger
       execution of plugin instance actions in case of API hub managed actions.
      
       This field should be provided if the plugin instance lifecycle of the
       developed plugin needs to be managed from API hub. Also, in this case the
       plugin hosting service interface needs to be implemented.
      
       This field should not be provided if the plugin wants to manage plugin
       instance lifecycle events outside of hub interface and use plugin framework
       for only registering of plugin and plugin instances to capture the source
       of data into hub. Note, in this case the plugin hosting service interface
       is not required to be implemented. Also, the plugin instance lifecycle
       actions will be disabled from API hub's UI.
       
      .google.cloud.apihub.v1.Plugin.HostingService hosting_service = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHostingService in interface PluginOrBuilder
      Returns:
      The hostingService.
    • setHostingService

      public Plugin.Builder setHostingService(Plugin.HostingService value)
       Optional. This field is optional. It is used to notify the plugin hosting
       service for any lifecycle changes of the plugin instance and trigger
       execution of plugin instance actions in case of API hub managed actions.
      
       This field should be provided if the plugin instance lifecycle of the
       developed plugin needs to be managed from API hub. Also, in this case the
       plugin hosting service interface needs to be implemented.
      
       This field should not be provided if the plugin wants to manage plugin
       instance lifecycle events outside of hub interface and use plugin framework
       for only registering of plugin and plugin instances to capture the source
       of data into hub. Note, in this case the plugin hosting service interface
       is not required to be implemented. Also, the plugin instance lifecycle
       actions will be disabled from API hub's UI.
       
      .google.cloud.apihub.v1.Plugin.HostingService hosting_service = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setHostingService

      public Plugin.Builder setHostingService(Plugin.HostingService.Builder builderForValue)
       Optional. This field is optional. It is used to notify the plugin hosting
       service for any lifecycle changes of the plugin instance and trigger
       execution of plugin instance actions in case of API hub managed actions.
      
       This field should be provided if the plugin instance lifecycle of the
       developed plugin needs to be managed from API hub. Also, in this case the
       plugin hosting service interface needs to be implemented.
      
       This field should not be provided if the plugin wants to manage plugin
       instance lifecycle events outside of hub interface and use plugin framework
       for only registering of plugin and plugin instances to capture the source
       of data into hub. Note, in this case the plugin hosting service interface
       is not required to be implemented. Also, the plugin instance lifecycle
       actions will be disabled from API hub's UI.
       
      .google.cloud.apihub.v1.Plugin.HostingService hosting_service = 7 [(.google.api.field_behavior) = OPTIONAL];
    • mergeHostingService

      public Plugin.Builder mergeHostingService(Plugin.HostingService value)
       Optional. This field is optional. It is used to notify the plugin hosting
       service for any lifecycle changes of the plugin instance and trigger
       execution of plugin instance actions in case of API hub managed actions.
      
       This field should be provided if the plugin instance lifecycle of the
       developed plugin needs to be managed from API hub. Also, in this case the
       plugin hosting service interface needs to be implemented.
      
       This field should not be provided if the plugin wants to manage plugin
       instance lifecycle events outside of hub interface and use plugin framework
       for only registering of plugin and plugin instances to capture the source
       of data into hub. Note, in this case the plugin hosting service interface
       is not required to be implemented. Also, the plugin instance lifecycle
       actions will be disabled from API hub's UI.
       
      .google.cloud.apihub.v1.Plugin.HostingService hosting_service = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearHostingService

      public Plugin.Builder clearHostingService()
       Optional. This field is optional. It is used to notify the plugin hosting
       service for any lifecycle changes of the plugin instance and trigger
       execution of plugin instance actions in case of API hub managed actions.
      
       This field should be provided if the plugin instance lifecycle of the
       developed plugin needs to be managed from API hub. Also, in this case the
       plugin hosting service interface needs to be implemented.
      
       This field should not be provided if the plugin wants to manage plugin
       instance lifecycle events outside of hub interface and use plugin framework
       for only registering of plugin and plugin instances to capture the source
       of data into hub. Note, in this case the plugin hosting service interface
       is not required to be implemented. Also, the plugin instance lifecycle
       actions will be disabled from API hub's UI.
       
      .google.cloud.apihub.v1.Plugin.HostingService hosting_service = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getHostingServiceBuilder

      public Plugin.HostingService.Builder getHostingServiceBuilder()
       Optional. This field is optional. It is used to notify the plugin hosting
       service for any lifecycle changes of the plugin instance and trigger
       execution of plugin instance actions in case of API hub managed actions.
      
       This field should be provided if the plugin instance lifecycle of the
       developed plugin needs to be managed from API hub. Also, in this case the
       plugin hosting service interface needs to be implemented.
      
       This field should not be provided if the plugin wants to manage plugin
       instance lifecycle events outside of hub interface and use plugin framework
       for only registering of plugin and plugin instances to capture the source
       of data into hub. Note, in this case the plugin hosting service interface
       is not required to be implemented. Also, the plugin instance lifecycle
       actions will be disabled from API hub's UI.
       
      .google.cloud.apihub.v1.Plugin.HostingService hosting_service = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getHostingServiceOrBuilder

      public Plugin.HostingServiceOrBuilder getHostingServiceOrBuilder()
       Optional. This field is optional. It is used to notify the plugin hosting
       service for any lifecycle changes of the plugin instance and trigger
       execution of plugin instance actions in case of API hub managed actions.
      
       This field should be provided if the plugin instance lifecycle of the
       developed plugin needs to be managed from API hub. Also, in this case the
       plugin hosting service interface needs to be implemented.
      
       This field should not be provided if the plugin wants to manage plugin
       instance lifecycle events outside of hub interface and use plugin framework
       for only registering of plugin and plugin instances to capture the source
       of data into hub. Note, in this case the plugin hosting service interface
       is not required to be implemented. Also, the plugin instance lifecycle
       actions will be disabled from API hub's UI.
       
      .google.cloud.apihub.v1.Plugin.HostingService hosting_service = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHostingServiceOrBuilder in interface PluginOrBuilder
    • getActionsConfigList

      public List<PluginActionConfig> getActionsConfigList()
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActionsConfigList in interface PluginOrBuilder
    • getActionsConfigCount

      public int getActionsConfigCount()
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActionsConfigCount in interface PluginOrBuilder
    • getActionsConfig

      public PluginActionConfig getActionsConfig(int index)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActionsConfig in interface PluginOrBuilder
    • setActionsConfig

      public Plugin.Builder setActionsConfig(int index, PluginActionConfig value)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setActionsConfig

      public Plugin.Builder setActionsConfig(int index, PluginActionConfig.Builder builderForValue)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addActionsConfig

      public Plugin.Builder addActionsConfig(PluginActionConfig value)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addActionsConfig

      public Plugin.Builder addActionsConfig(int index, PluginActionConfig value)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addActionsConfig

      public Plugin.Builder addActionsConfig(PluginActionConfig.Builder builderForValue)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addActionsConfig

      public Plugin.Builder addActionsConfig(int index, PluginActionConfig.Builder builderForValue)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addAllActionsConfig

      public Plugin.Builder addAllActionsConfig(Iterable<? extends PluginActionConfig> values)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearActionsConfig

      public Plugin.Builder clearActionsConfig()
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • removeActionsConfig

      public Plugin.Builder removeActionsConfig(int index)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getActionsConfigBuilder

      public PluginActionConfig.Builder getActionsConfigBuilder(int index)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getActionsConfigOrBuilder

      public PluginActionConfigOrBuilder getActionsConfigOrBuilder(int index)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActionsConfigOrBuilder in interface PluginOrBuilder
    • getActionsConfigOrBuilderList

      public List<? extends PluginActionConfigOrBuilder> getActionsConfigOrBuilderList()
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActionsConfigOrBuilderList in interface PluginOrBuilder
    • addActionsConfigBuilder

      public PluginActionConfig.Builder addActionsConfigBuilder()
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addActionsConfigBuilder

      public PluginActionConfig.Builder addActionsConfigBuilder(int index)
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getActionsConfigBuilderList

      public List<PluginActionConfig.Builder> getActionsConfigBuilderList()
       Optional. The configuration of actions supported by the plugin.
       **REQUIRED**: This field must be provided when creating or updating a
       Plugin. The server will reject requests if this field is missing.
       
      repeated .google.cloud.apihub.v1.PluginActionConfig actions_config = 8 [(.google.api.field_behavior) = OPTIONAL];
    • hasDocumentation

      public boolean hasDocumentation()
       Optional. The documentation of the plugin, that explains how to set up and
       use the plugin.
       
      .google.cloud.apihub.v1.Documentation documentation = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDocumentation in interface PluginOrBuilder
      Returns:
      Whether the documentation field is set.
    • getDocumentation

      public Documentation getDocumentation()
       Optional. The documentation of the plugin, that explains how to set up and
       use the plugin.
       
      .google.cloud.apihub.v1.Documentation documentation = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentation in interface PluginOrBuilder
      Returns:
      The documentation.
    • setDocumentation

      public Plugin.Builder setDocumentation(Documentation value)
       Optional. The documentation of the plugin, that explains how to set up and
       use the plugin.
       
      .google.cloud.apihub.v1.Documentation documentation = 9 [(.google.api.field_behavior) = OPTIONAL];
    • setDocumentation

      public Plugin.Builder setDocumentation(Documentation.Builder builderForValue)
       Optional. The documentation of the plugin, that explains how to set up and
       use the plugin.
       
      .google.cloud.apihub.v1.Documentation documentation = 9 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDocumentation

      public Plugin.Builder mergeDocumentation(Documentation value)
       Optional. The documentation of the plugin, that explains how to set up and
       use the plugin.
       
      .google.cloud.apihub.v1.Documentation documentation = 9 [(.google.api.field_behavior) = OPTIONAL];
    • clearDocumentation

      public Plugin.Builder clearDocumentation()
       Optional. The documentation of the plugin, that explains how to set up and
       use the plugin.
       
      .google.cloud.apihub.v1.Documentation documentation = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getDocumentationBuilder

      public Documentation.Builder getDocumentationBuilder()
       Optional. The documentation of the plugin, that explains how to set up and
       use the plugin.
       
      .google.cloud.apihub.v1.Documentation documentation = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getDocumentationOrBuilder

      public DocumentationOrBuilder getDocumentationOrBuilder()
       Optional. The documentation of the plugin, that explains how to set up and
       use the plugin.
       
      .google.cloud.apihub.v1.Documentation documentation = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentationOrBuilder in interface PluginOrBuilder
    • getPluginCategoryValue

      public int getPluginCategoryValue()
       Optional. The category of the plugin, identifying its primary category or
       purpose. This field is required for all plugins.
       
      .google.cloud.apihub.v1.PluginCategory plugin_category = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPluginCategoryValue in interface PluginOrBuilder
      Returns:
      The enum numeric value on the wire for pluginCategory.
    • setPluginCategoryValue

      public Plugin.Builder setPluginCategoryValue(int value)
       Optional. The category of the plugin, identifying its primary category or
       purpose. This field is required for all plugins.
       
      .google.cloud.apihub.v1.PluginCategory plugin_category = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for pluginCategory to set.
      Returns:
      This builder for chaining.
    • getPluginCategory

      public PluginCategory getPluginCategory()
       Optional. The category of the plugin, identifying its primary category or
       purpose. This field is required for all plugins.
       
      .google.cloud.apihub.v1.PluginCategory plugin_category = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPluginCategory in interface PluginOrBuilder
      Returns:
      The pluginCategory.
    • setPluginCategory

      public Plugin.Builder setPluginCategory(PluginCategory value)
       Optional. The category of the plugin, identifying its primary category or
       purpose. This field is required for all plugins.
       
      .google.cloud.apihub.v1.PluginCategory plugin_category = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pluginCategory to set.
      Returns:
      This builder for chaining.
    • clearPluginCategory

      public Plugin.Builder clearPluginCategory()
       Optional. The category of the plugin, identifying its primary category or
       purpose. This field is required for all plugins.
       
      .google.cloud.apihub.v1.PluginCategory plugin_category = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasConfigTemplate

      public boolean hasConfigTemplate()
       Optional. The configuration template for the plugin.
       
      .google.cloud.apihub.v1.Plugin.ConfigTemplate config_template = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConfigTemplate in interface PluginOrBuilder
      Returns:
      Whether the configTemplate field is set.
    • getConfigTemplate

      public Plugin.ConfigTemplate getConfigTemplate()
       Optional. The configuration template for the plugin.
       
      .google.cloud.apihub.v1.Plugin.ConfigTemplate config_template = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigTemplate in interface PluginOrBuilder
      Returns:
      The configTemplate.
    • setConfigTemplate

      public Plugin.Builder setConfigTemplate(Plugin.ConfigTemplate value)
       Optional. The configuration template for the plugin.
       
      .google.cloud.apihub.v1.Plugin.ConfigTemplate config_template = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setConfigTemplate

      public Plugin.Builder setConfigTemplate(Plugin.ConfigTemplate.Builder builderForValue)
       Optional. The configuration template for the plugin.
       
      .google.cloud.apihub.v1.Plugin.ConfigTemplate config_template = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeConfigTemplate

      public Plugin.Builder mergeConfigTemplate(Plugin.ConfigTemplate value)
       Optional. The configuration template for the plugin.
       
      .google.cloud.apihub.v1.Plugin.ConfigTemplate config_template = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearConfigTemplate

      public Plugin.Builder clearConfigTemplate()
       Optional. The configuration template for the plugin.
       
      .google.cloud.apihub.v1.Plugin.ConfigTemplate config_template = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getConfigTemplateBuilder

      public Plugin.ConfigTemplate.Builder getConfigTemplateBuilder()
       Optional. The configuration template for the plugin.
       
      .google.cloud.apihub.v1.Plugin.ConfigTemplate config_template = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getConfigTemplateOrBuilder

      public Plugin.ConfigTemplateOrBuilder getConfigTemplateOrBuilder()
       Optional. The configuration template for the plugin.
       
      .google.cloud.apihub.v1.Plugin.ConfigTemplate config_template = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigTemplateOrBuilder in interface PluginOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Timestamp indicating when the plugin was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface PluginOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp indicating when the plugin was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface PluginOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Plugin.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp indicating when the plugin was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Plugin.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp indicating when the plugin was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Plugin.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp indicating when the plugin was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Plugin.Builder clearCreateTime()
       Output only. Timestamp indicating when the plugin was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp indicating when the plugin was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp indicating when the plugin was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface PluginOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Timestamp indicating when the plugin was last updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface PluginOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp indicating when the plugin was last updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface PluginOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Plugin.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp indicating when the plugin was last updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Plugin.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp indicating when the plugin was last updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Plugin.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp indicating when the plugin was last updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Plugin.Builder clearUpdateTime()
       Output only. Timestamp indicating when the plugin was last updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Timestamp indicating when the plugin was last updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp indicating when the plugin was last updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface PluginOrBuilder
    • getGatewayTypeValue

      public int getGatewayTypeValue()
       Optional. The type of the gateway.
       
      .google.cloud.apihub.v1.GatewayType gateway_type = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGatewayTypeValue in interface PluginOrBuilder
      Returns:
      The enum numeric value on the wire for gatewayType.
    • setGatewayTypeValue

      public Plugin.Builder setGatewayTypeValue(int value)
       Optional. The type of the gateway.
       
      .google.cloud.apihub.v1.GatewayType gateway_type = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for gatewayType to set.
      Returns:
      This builder for chaining.
    • getGatewayType

      public GatewayType getGatewayType()
       Optional. The type of the gateway.
       
      .google.cloud.apihub.v1.GatewayType gateway_type = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGatewayType in interface PluginOrBuilder
      Returns:
      The gatewayType.
    • setGatewayType

      public Plugin.Builder setGatewayType(GatewayType value)
       Optional. The type of the gateway.
       
      .google.cloud.apihub.v1.GatewayType gateway_type = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The gatewayType to set.
      Returns:
      This builder for chaining.
    • clearGatewayType

      public Plugin.Builder clearGatewayType()
       Optional. The type of the gateway.
       
      .google.cloud.apihub.v1.GatewayType gateway_type = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.