Package com.google.cloud.vmwareengine.v1
Class ExternalAddress.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExternalAddress.Builder>
com.google.cloud.vmwareengine.v1.ExternalAddress.Builder
- All Implemented Interfaces:
ExternalAddressOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExternalAddress
public static final class ExternalAddress.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExternalAddress.Builder>
implements ExternalAddressOrBuilder
Represents an allocated external IP address and its corresponding internal IP address in a private cloud.Protobuf type
google.cloud.vmwareengine.v1.ExternalAddress-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.User-provided description for this resource.Output only.The internal IP address of a workload VM.Output only.Output only.clearUid()Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.User-provided description for this resource.com.google.protobuf.ByteStringUser-provided description for this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.The internal IP address of a workload VM.com.google.protobuf.ByteStringThe internal IP address of a workload VM.getName()Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(ExternalAddress other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) User-provided description for this resource.setDescriptionBytes(com.google.protobuf.ByteString value) User-provided description for this resource.setExternalIp(String value) Output only.setExternalIpBytes(com.google.protobuf.ByteString value) Output only.setInternalIp(String value) The internal IP address of a workload VM.setInternalIpBytes(com.google.protobuf.ByteString value) The internal IP address of a workload VM.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setState(ExternalAddress.State value) Output only.setStateValue(int value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExternalAddress.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExternalAddress.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExternalAddress.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExternalAddress.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExternalAddress.Builder>
-
mergeFrom
public ExternalAddress.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExternalAddress.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceExternalAddressOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceExternalAddressOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceExternalAddressOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceExternalAddressOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceExternalAddressOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceExternalAddressOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceExternalAddressOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceExternalAddressOrBuilder
-
getInternalIp
The internal IP address of a workload VM.
string internal_ip = 6;- Specified by:
getInternalIpin interfaceExternalAddressOrBuilder- Returns:
- The internalIp.
-
getInternalIpBytes
public com.google.protobuf.ByteString getInternalIpBytes()The internal IP address of a workload VM.
string internal_ip = 6;- Specified by:
getInternalIpBytesin interfaceExternalAddressOrBuilder- Returns:
- The bytes for internalIp.
-
setInternalIp
The internal IP address of a workload VM.
string internal_ip = 6;- Parameters:
value- The internalIp to set.- Returns:
- This builder for chaining.
-
clearInternalIp
The internal IP address of a workload VM.
string internal_ip = 6;- Returns:
- This builder for chaining.
-
setInternalIpBytes
The internal IP address of a workload VM.
string internal_ip = 6;- Parameters:
value- The bytes for internalIp to set.- Returns:
- This builder for chaining.
-
getExternalIp
Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExternalIpin interfaceExternalAddressOrBuilder- Returns:
- The externalIp.
-
getExternalIpBytes
public com.google.protobuf.ByteString getExternalIpBytes()Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExternalIpBytesin interfaceExternalAddressOrBuilder- Returns:
- The bytes for externalIp.
-
setExternalIp
Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The externalIp to set.- Returns:
- This builder for chaining.
-
clearExternalIp
Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setExternalIpBytes
Output only. The external IP address of a workload VM.
string external_ip = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for externalIp to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfaceExternalAddressOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAddress.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAddress.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceExternalAddressOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAddress.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAddress.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getUid
Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceExternalAddressOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceExternalAddressOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getDescription
User-provided description for this resource.
string description = 11;- Specified by:
getDescriptionin interfaceExternalAddressOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()User-provided description for this resource.
string description = 11;- Specified by:
getDescriptionBytesin interfaceExternalAddressOrBuilder- Returns:
- The bytes for description.
-
setDescription
User-provided description for this resource.
string description = 11;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
User-provided description for this resource.
string description = 11;- Returns:
- This builder for chaining.
-
setDescriptionBytes
User-provided description for this resource.
string description = 11;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-