public static final class ExternalAddress.Builder extends GeneratedMessage.Builder<ExternalAddress.Builder> implements ExternalAddressOrBuilderRepresents an allocated external IP address and its corresponding internal IP address in a private cloud.
Protobuf type google.cloud.vmwareengine.v1.ExternalAddress
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExternalAddress.BuilderImplements
ExternalAddressOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExternalAddress build()| Returns | |
|---|---|
| Type | Description |
ExternalAddress |
|
buildPartial()
public ExternalAddress buildPartial()| Returns | |
|---|---|
| Type | Description |
ExternalAddress |
|
clear()
public ExternalAddress.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
clearCreateTime()
public ExternalAddress.Builder clearCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
clearDescription()
public ExternalAddress.Builder clearDescription()User-provided description for this resource.
string description = 11;
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
clearExternalIp()
public ExternalAddress.Builder clearExternalIp()Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
clearInternalIp()
public ExternalAddress.Builder clearInternalIp()The internal IP address of a workload VM.
string internal_ip = 6;
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
clearName()
public ExternalAddress.Builder clearName() Output only. The resource name of this external IP address.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
clearState()
public ExternalAddress.Builder clearState()Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAddress.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
clearUid()
public ExternalAddress.Builder clearUid()Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
clearUpdateTime()
public ExternalAddress.Builder clearUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public ExternalAddress getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExternalAddress |
|
getDescription()
public String getDescription()User-provided description for this resource.
string description = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()User-provided description for this resource.
string description = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExternalIp()
public String getExternalIp()Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The externalIp. |
getExternalIpBytes()
public ByteString getExternalIpBytes()Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for externalIp. |
getInternalIp()
public String getInternalIp()The internal IP address of a workload VM.
string internal_ip = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The internalIp. |
getInternalIpBytes()
public ByteString getInternalIpBytes()The internal IP address of a workload VM.
string internal_ip = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for internalIp. |
getName()
public String getName() Output only. The resource name of this external IP address.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Output only. The resource name of this external IP address.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getState()
public ExternalAddress.State getState()Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAddress.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.State |
The state. |
getStateValue()
public int getStateValue()Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAddress.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUid()
public String getUid()Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The uid. |
getUidBytes()
public ByteString getUidBytes()Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public ExternalAddress.Builder mergeCreateTime(Timestamp value)Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
mergeFrom(ExternalAddress other)
public ExternalAddress.Builder mergeFrom(ExternalAddress other)| Parameter | |
|---|---|
| Name | Description |
other |
ExternalAddress |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExternalAddress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExternalAddress.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
mergeUpdateTime(Timestamp value)
public ExternalAddress.Builder mergeUpdateTime(Timestamp value)Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
setCreateTime(Timestamp value)
public ExternalAddress.Builder setCreateTime(Timestamp value)Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public ExternalAddress.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
setDescription(String value)
public ExternalAddress.Builder setDescription(String value)User-provided description for this resource.
string description = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public ExternalAddress.Builder setDescriptionBytes(ByteString value)User-provided description for this resource.
string description = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setExternalIp(String value)
public ExternalAddress.Builder setExternalIp(String value)Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe externalIp to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setExternalIpBytes(ByteString value)
public ExternalAddress.Builder setExternalIpBytes(ByteString value)Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for externalIp to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setInternalIp(String value)
public ExternalAddress.Builder setInternalIp(String value)The internal IP address of a workload VM.
string internal_ip = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe internalIp to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setInternalIpBytes(ByteString value)
public ExternalAddress.Builder setInternalIpBytes(ByteString value)The internal IP address of a workload VM.
string internal_ip = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for internalIp to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setName(String value)
public ExternalAddress.Builder setName(String value) Output only. The resource name of this external IP address.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ExternalAddress.Builder setNameBytes(ByteString value) Output only. The resource name of this external IP address.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setState(ExternalAddress.State value)
public ExternalAddress.Builder setState(ExternalAddress.State value)Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAddress.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ExternalAddress.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setStateValue(int value)
public ExternalAddress.Builder setStateValue(int value)Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAddress.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setUid(String value)
public ExternalAddress.Builder setUid(String value)Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uid to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public ExternalAddress.Builder setUidBytes(ByteString value)Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uid to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public ExternalAddress.Builder setUpdateTime(Timestamp value)Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public ExternalAddress.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ExternalAddress.Builder |
|