Class UpdateUserInstanceConfigAction

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.spanner.executor.v1.UpdateUserInstanceConfigAction
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateUserInstanceConfigActionOrBuilder, Serializable

public final class UpdateUserInstanceConfigAction extends com.google.protobuf.GeneratedMessageV3 implements UpdateUserInstanceConfigActionOrBuilder
 Action that updates a user instance config.
 
Protobuf type google.spanner.executor.v1.UpdateUserInstanceConfigAction
See Also:
  • Field Details

    • USER_CONFIG_ID_FIELD_NUMBER

      public static final int USER_CONFIG_ID_FIELD_NUMBER
      See Also:
    • PROJECT_ID_FIELD_NUMBER

      public static final int PROJECT_ID_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getUserConfigId

      public String getUserConfigId()
       User instance config ID (not path), e.g. "custom-config".
       
      string user_config_id = 1;
      Specified by:
      getUserConfigId in interface UpdateUserInstanceConfigActionOrBuilder
      Returns:
      The userConfigId.
    • getUserConfigIdBytes

      public com.google.protobuf.ByteString getUserConfigIdBytes()
       User instance config ID (not path), e.g. "custom-config".
       
      string user_config_id = 1;
      Specified by:
      getUserConfigIdBytes in interface UpdateUserInstanceConfigActionOrBuilder
      Returns:
      The bytes for userConfigId.
    • getProjectId

      public String getProjectId()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 2;
      Specified by:
      getProjectId in interface UpdateUserInstanceConfigActionOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 2;
      Specified by:
      getProjectIdBytes in interface UpdateUserInstanceConfigActionOrBuilder
      Returns:
      The bytes for projectId.
    • hasDisplayName

      public boolean hasDisplayName()
       The descriptive name for this instance config as it appears in UIs.
       
      optional string display_name = 3;
      Specified by:
      hasDisplayName in interface UpdateUserInstanceConfigActionOrBuilder
      Returns:
      Whether the displayName field is set.
    • getDisplayName

      public String getDisplayName()
       The descriptive name for this instance config as it appears in UIs.
       
      optional string display_name = 3;
      Specified by:
      getDisplayName in interface UpdateUserInstanceConfigActionOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       The descriptive name for this instance config as it appears in UIs.
       
      optional string display_name = 3;
      Specified by:
      getDisplayNameBytes in interface UpdateUserInstanceConfigActionOrBuilder
      Returns:
      The bytes for displayName.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: UpdateUserInstanceConfigActionOrBuilder
       labels.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface UpdateUserInstanceConfigActionOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       labels.
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface UpdateUserInstanceConfigActionOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       labels.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface UpdateUserInstanceConfigActionOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       labels.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface UpdateUserInstanceConfigActionOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       labels.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface UpdateUserInstanceConfigActionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateUserInstanceConfigAction parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateUserInstanceConfigAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateUserInstanceConfigAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UpdateUserInstanceConfigAction.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UpdateUserInstanceConfigAction.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpdateUserInstanceConfigAction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static UpdateUserInstanceConfigAction getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpdateUserInstanceConfigAction> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpdateUserInstanceConfigAction> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public UpdateUserInstanceConfigAction getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder