Class CloudExadataInfrastructure.Builder (0.4.0)

public static final class CloudExadataInfrastructure.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudExadataInfrastructure.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides

build()

public CloudExadataInfrastructure build()
Returns
Type Description
CloudExadataInfrastructure

buildPartial()

public CloudExadataInfrastructure buildPartial()
Returns
Type Description
CloudExadataInfrastructure

clear()

public CloudExadataInfrastructure.Builder clear()
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides

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];

Returns
Type Description
CloudExadataInfrastructure.Builder

clearDisplayName()

public CloudExadataInfrastructure.Builder clearDisplayName()

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudExadataInfrastructure.Builder

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
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudExadataInfrastructure.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides

clearGcpOracleZone()

public CloudExadataInfrastructure.Builder clearGcpOracleZone()

Optional. Google Cloud Platform location where Oracle Exadata is hosted.

string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

clearLabels()

public CloudExadataInfrastructure.Builder clearLabels()
Returns
Type Description
CloudExadataInfrastructure.Builder

clearName()

public CloudExadataInfrastructure.Builder 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
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudExadataInfrastructure.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides

clearProperties()

public CloudExadataInfrastructure.Builder clearProperties()

Optional. Various properties of the infra.

.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudExadataInfrastructure.Builder

clone()

public CloudExadataInfrastructure.Builder clone()
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Labels or tags associated with the resource.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public 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];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public 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];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CloudExadataInfrastructure getDefaultInstanceForType()
Returns
Type Description
CloudExadataInfrastructure

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

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];

Returns
Type Description
String

The entitlementId.

getEntitlementIdBytes()

public 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];

Returns
Type Description
ByteString

The bytes for entitlementId.

getGcpOracleZone()

public String getGcpOracleZone()

Optional. Google Cloud Platform location where Oracle Exadata is hosted.

string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcpOracleZone.

getGcpOracleZoneBytes()

public ByteString getGcpOracleZoneBytes()

Optional. Google Cloud Platform location where Oracle Exadata is hosted.

string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcpOracleZone.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels or tags associated with the resource.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Labels or tags associated with the resource.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Labels or tags associated with the resource.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

getProperties()

public CloudExadataInfrastructureProperties getProperties()

Optional. Various properties of the infra.

.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudExadataInfrastructureProperties

The properties.

getPropertiesBuilder()

public CloudExadataInfrastructureProperties.Builder getPropertiesBuilder()

Optional. Various properties of the infra.

.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudExadataInfrastructureProperties.Builder

getPropertiesOrBuilder()

public CloudExadataInfrastructurePropertiesOrBuilder getPropertiesOrBuilder()

Optional. Various properties of the infra.

.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudExadataInfrastructurePropertiesOrBuilder

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];

Returns
Type Description
boolean

Whether the createTime field is set.

hasProperties()

public boolean hasProperties()

Optional. Various properties of the infra.

.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public CloudExadataInfrastructure.Builder mergeCreateTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudExadataInfrastructure.Builder

mergeFrom(CloudExadataInfrastructure other)

public CloudExadataInfrastructure.Builder mergeFrom(CloudExadataInfrastructure other)
Parameter
Name Description
other CloudExadataInfrastructure
Returns
Type Description
CloudExadataInfrastructure.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudExadataInfrastructure.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudExadataInfrastructure.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides

mergeProperties(CloudExadataInfrastructureProperties value)

public CloudExadataInfrastructure.Builder mergeProperties(CloudExadataInfrastructureProperties value)

Optional. Various properties of the infra.

.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CloudExadataInfrastructureProperties
Returns
Type Description
CloudExadataInfrastructure.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudExadataInfrastructure.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides

putAllLabels(Map<String,String> values)

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];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
CloudExadataInfrastructure.Builder

putLabels(String key, String value)

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];

Parameters
Name Description
key String
value String
Returns
Type Description
CloudExadataInfrastructure.Builder

removeLabels(String key)

public CloudExadataInfrastructure.Builder removeLabels(String key)

Optional. Labels or tags associated with the resource.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
CloudExadataInfrastructure.Builder

setCreateTime(Timestamp value)

public CloudExadataInfrastructure.Builder setCreateTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
CloudExadataInfrastructure.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CloudExadataInfrastructure.Builder setCreateTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CloudExadataInfrastructure.Builder

setDisplayName(String value)

public CloudExadataInfrastructure.Builder setDisplayName(String value)

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public CloudExadataInfrastructure.Builder setDisplayNameBytes(ByteString value)

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

setEntitlementId(String value)

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];

Parameter
Name Description
value String

The entitlementId to set.

Returns
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

setEntitlementIdBytes(ByteString value)

public CloudExadataInfrastructure.Builder setEntitlementIdBytes(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];

Parameter
Name Description
value ByteString

The bytes for entitlementId to set.

Returns
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudExadataInfrastructure.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides

setGcpOracleZone(String value)

public CloudExadataInfrastructure.Builder setGcpOracleZone(String value)

Optional. Google Cloud Platform location where Oracle Exadata is hosted.

string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The gcpOracleZone to set.

Returns
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

setGcpOracleZoneBytes(ByteString value)

public CloudExadataInfrastructure.Builder setGcpOracleZoneBytes(ByteString value)

Optional. Google Cloud Platform location where Oracle Exadata is hosted.

string gcp_oracle_zone = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for gcpOracleZone to set.

Returns
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

setName(String value)

public CloudExadataInfrastructure.Builder setName(String 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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CloudExadataInfrastructure.Builder setNameBytes(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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CloudExadataInfrastructure.Builder

This builder for chaining.

setProperties(CloudExadataInfrastructureProperties value)

public CloudExadataInfrastructure.Builder setProperties(CloudExadataInfrastructureProperties value)

Optional. Various properties of the infra.

.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CloudExadataInfrastructureProperties
Returns
Type Description
CloudExadataInfrastructure.Builder

setProperties(CloudExadataInfrastructureProperties.Builder builderForValue)

public CloudExadataInfrastructure.Builder setProperties(CloudExadataInfrastructureProperties.Builder builderForValue)

Optional. Various properties of the infra.

.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties properties = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CloudExadataInfrastructureProperties.Builder
Returns
Type Description
CloudExadataInfrastructure.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloudExadataInfrastructure.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudExadataInfrastructure.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudExadataInfrastructure.Builder
Overrides