Class CloudExadataInfrastructure.Builder

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

public static final class CloudExadataInfrastructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<CloudExadataInfrastructure.Builder> implements CloudExadataInfrastructureOrBuilder
 Represents CloudExadataInfrastructure resource.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/
 
Protobuf type google.cloud.oracledatabase.v1.CloudExadataInfrastructure
  • 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<CloudExadataInfrastructure.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CloudExadataInfrastructure.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<CloudExadataInfrastructure.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<CloudExadataInfrastructure.Builder>
    • getDefaultInstanceForType

      public CloudExadataInfrastructure 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 CloudExadataInfrastructure buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public String getName()
       Identifier. The name of the Exadata Infrastructure resource with the
       format:
       projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the Exadata Infrastructure resource with the
       format:
       projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The bytes for name.
    • setName

       Identifier. The name of the Exadata Infrastructure resource with the
       format:
       projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Identifier. The name of the Exadata Infrastructure resource with the
       format:
       projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public CloudExadataInfrastructure.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the Exadata Infrastructure resource with the
       format:
       projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
       
      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()
       Optional. User friendly name for this resource.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. User friendly name for this resource.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayNameBytes in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public CloudExadataInfrastructure.Builder setDisplayName(String value)
       Optional. User friendly name for this resource.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public CloudExadataInfrastructure.Builder clearDisplayName()
       Optional. User friendly name for this resource.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public CloudExadataInfrastructure.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. User friendly name for this resource.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getGcpOracleZone

      public String getGcpOracleZone()
       Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is
       hosted. Example: us-east4-b-r2. If not specified, the system will pick a
       zone based on availability.
       
      string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcpOracleZone in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The gcpOracleZone.
    • getGcpOracleZoneBytes

      public com.google.protobuf.ByteString getGcpOracleZoneBytes()
       Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is
       hosted. Example: us-east4-b-r2. If not specified, the system will pick a
       zone based on availability.
       
      string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcpOracleZoneBytes in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The bytes for gcpOracleZone.
    • setGcpOracleZone

      public CloudExadataInfrastructure.Builder setGcpOracleZone(String value)
       Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is
       hosted. Example: us-east4-b-r2. If not specified, the system will pick a
       zone based on availability.
       
      string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The gcpOracleZone to set.
      Returns:
      This builder for chaining.
    • clearGcpOracleZone

      public CloudExadataInfrastructure.Builder clearGcpOracleZone()
       Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is
       hosted. Example: us-east4-b-r2. If not specified, the system will pick a
       zone based on availability.
       
      string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setGcpOracleZoneBytes

      public CloudExadataInfrastructure.Builder setGcpOracleZoneBytes(com.google.protobuf.ByteString value)
       Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is
       hosted. Example: us-east4-b-r2. If not specified, the system will pick a
       zone based on availability.
       
      string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for gcpOracleZone to set.
      Returns:
      This builder for chaining.
    • getEntitlementId

      public String getEntitlementId()
       Output only. Entitlement ID of the private offer against which this
       infrastructure resource is provisioned.
       
      string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEntitlementId in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The entitlementId.
    • getEntitlementIdBytes

      public com.google.protobuf.ByteString getEntitlementIdBytes()
       Output only. Entitlement ID of the private offer against which this
       infrastructure resource is provisioned.
       
      string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEntitlementIdBytes in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The bytes for entitlementId.
    • setEntitlementId

      public CloudExadataInfrastructure.Builder setEntitlementId(String value)
       Output only. Entitlement ID of the private offer against which this
       infrastructure resource is provisioned.
       
      string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The entitlementId to set.
      Returns:
      This builder for chaining.
    • clearEntitlementId

      public CloudExadataInfrastructure.Builder clearEntitlementId()
       Output only. Entitlement ID of the private offer against which this
       infrastructure resource is provisioned.
       
      string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEntitlementIdBytes

      public CloudExadataInfrastructure.Builder setEntitlementIdBytes(com.google.protobuf.ByteString value)
       Output only. Entitlement ID of the private offer against which this
       infrastructure resource is provisioned.
       
      string entitlement_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for entitlementId to set.
      Returns:
      This builder for chaining.
    • hasProperties

      public boolean hasProperties()
       Optional. Various properties of the infra.
       
      .google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasProperties in interface CloudExadataInfrastructureOrBuilder
      Returns:
      Whether the properties field is set.
    • getProperties

      public CloudExadataInfrastructureProperties getProperties()
       Optional. Various properties of the infra.
       
      .google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProperties in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The properties.
    • setProperties

       Optional. Various properties of the infra.
       
      .google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setProperties

       Optional. Various properties of the infra.
       
      .google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeProperties

       Optional. Various properties of the infra.
       
      .google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearProperties

      public CloudExadataInfrastructure.Builder clearProperties()
       Optional. Various properties of the infra.
       
      .google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getPropertiesBuilder

      public CloudExadataInfrastructureProperties.Builder getPropertiesBuilder()
       Optional. Various properties of the infra.
       
      .google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getPropertiesOrBuilder

      public CloudExadataInfrastructurePropertiesOrBuilder getPropertiesOrBuilder()
       Optional. Various properties of the infra.
       
      .google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesOrBuilder in interface CloudExadataInfrastructureOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: CloudExadataInfrastructureOrBuilder
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface CloudExadataInfrastructureOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface CloudExadataInfrastructureOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface CloudExadataInfrastructureOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface CloudExadataInfrastructureOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface CloudExadataInfrastructureOrBuilder
    • clearLabels

      public CloudExadataInfrastructure.Builder clearLabels()
    • removeLabels

      public CloudExadataInfrastructure.Builder removeLabels(String key)
       Optional. Labels or tags associated with the resource.
       
      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 CloudExadataInfrastructure.Builder putLabels(String key, String value)
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public CloudExadataInfrastructure.Builder putAllLabels(Map<String,String> values)
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The date and time that the Exadata Infrastructure was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface CloudExadataInfrastructureOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The date and time that the Exadata Infrastructure was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface CloudExadataInfrastructureOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public CloudExadataInfrastructure.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The date and time that the Exadata Infrastructure was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public CloudExadataInfrastructure.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The date and time that the Exadata Infrastructure was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public CloudExadataInfrastructure.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The date and time that the Exadata Infrastructure was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public CloudExadataInfrastructure.Builder clearCreateTime()
       Output only. The date and time that the Exadata Infrastructure was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The date and time that the Exadata Infrastructure was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The date and time that the Exadata Infrastructure was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface CloudExadataInfrastructureOrBuilder