public static final class OdbDnsZone.Builder extends GeneratedMessage.Builder<OdbDnsZone.Builder> implements OdbDnsZoneOrBuilderRepresents OdbDnsZone resource.
Protobuf type google.cloud.oracledatabase.v1.OdbDnsZone
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OdbDnsZone.BuilderImplements
OdbDnsZoneOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public OdbDnsZone build()| Returns | |
|---|---|
| Type | Description |
OdbDnsZone |
|
buildPartial()
public OdbDnsZone buildPartial()| Returns | |
|---|---|
| Type | Description |
OdbDnsZone |
|
clear()
public OdbDnsZone.Builder clear()| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
clearCreateTime()
public OdbDnsZone.Builder clearCreateTime()Output only. The date and time that the OdbDnsZone was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
clearDomain()
public OdbDnsZone.Builder clearDomain()Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com.
string domain = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
This builder for chaining. |
clearLabels()
public OdbDnsZone.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
clearName()
public OdbDnsZone.Builder clearName()Identifier. The name of the OdbDnsZone resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
This builder for chaining. |
clearState()
public OdbDnsZone.Builder clearState()Output only. State of the OdbDnsZone.
.google.cloud.oracledatabase.v1.OdbDnsZone.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
This builder for chaining. |
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels or tags associated with the resource.
map<string, string> labels = 3 [(.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 OdbDnsZone was created.
.google.protobuf.Timestamp create_time = 5 [(.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 OdbDnsZone was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The date and time that the OdbDnsZone was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public OdbDnsZone getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OdbDnsZone |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDomain()
public String getDomain()Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com.
string domain = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The domain. |
getDomainBytes()
public ByteString getDomainBytes()Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com.
string domain = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for domain. |
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 = 3 [(.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 = 3 [(.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 = 3 [(.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 = 3 [(.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 OdbDnsZone resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. The name of the OdbDnsZone resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getState()
public OdbDnsZone.State getState()Output only. State of the OdbDnsZone.
.google.cloud.oracledatabase.v1.OdbDnsZone.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.State |
The state. |
getStateValue()
public int getStateValue()Output only. State of the OdbDnsZone.
.google.cloud.oracledatabase.v1.OdbDnsZone.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
hasCreateTime()
public boolean hasCreateTime()Output only. The date and time that the OdbDnsZone was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public OdbDnsZone.Builder mergeCreateTime(Timestamp value)Output only. The date and time that the OdbDnsZone was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
mergeFrom(OdbDnsZone other)
public OdbDnsZone.Builder mergeFrom(OdbDnsZone other)| Parameter | |
|---|---|
| Name | Description |
other |
OdbDnsZone |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OdbDnsZone.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OdbDnsZone.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
putAllLabels(Map<String,String> values)
public OdbDnsZone.Builder putAllLabels(Map<String,String> values)Optional. Labels or tags associated with the resource.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
putLabels(String key, String value)
public OdbDnsZone.Builder putLabels(String key, String value)Optional. Labels or tags associated with the resource.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
removeLabels(String key)
public OdbDnsZone.Builder removeLabels(String key)Optional. Labels or tags associated with the resource.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
setCreateTime(Timestamp value)
public OdbDnsZone.Builder setCreateTime(Timestamp value)Output only. The date and time that the OdbDnsZone was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public OdbDnsZone.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The date and time that the OdbDnsZone was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
|
setDomain(String value)
public OdbDnsZone.Builder setDomain(String value)Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com.
string domain = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe domain to set. |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
This builder for chaining. |
setDomainBytes(ByteString value)
public OdbDnsZone.Builder setDomainBytes(ByteString value)Required. Immutable. The DNS suffix for the zone. Ex: abc.example.com.
string domain = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for domain to set. |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
This builder for chaining. |
setName(String value)
public OdbDnsZone.Builder setName(String value)Identifier. The name of the OdbDnsZone resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public OdbDnsZone.Builder setNameBytes(ByteString value)Identifier. The name of the OdbDnsZone resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
This builder for chaining. |
setState(OdbDnsZone.State value)
public OdbDnsZone.Builder setState(OdbDnsZone.State value)Output only. State of the OdbDnsZone.
.google.cloud.oracledatabase.v1.OdbDnsZone.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
OdbDnsZone.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
This builder for chaining. |
setStateValue(int value)
public OdbDnsZone.Builder setStateValue(int value)Output only. State of the OdbDnsZone.
.google.cloud.oracledatabase.v1.OdbDnsZone.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
OdbDnsZone.Builder |
This builder for chaining. |