Package com.google.cloud.compute.v1
Class InstanceWithNamedPorts.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstanceWithNamedPorts.Builder>
com.google.cloud.compute.v1.InstanceWithNamedPorts.Builder
- All Implemented Interfaces:
InstanceWithNamedPortsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstanceWithNamedPorts
public static final class InstanceWithNamedPorts.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceWithNamedPorts.Builder>
implements InstanceWithNamedPortsOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceWithNamedPorts-
Method Summary
Modifier and TypeMethodDescriptionaddAllNamedPorts(Iterable<? extends NamedPort> values) Output only.addNamedPorts(int index, NamedPort value) Output only.addNamedPorts(int index, NamedPort.Builder builderForValue) Output only.addNamedPorts(NamedPort value) Output only.addNamedPorts(NamedPort.Builder builderForValue) Output only.Output only.addNamedPortsBuilder(int index) Output only.build()clear()Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getNamedPorts(int index) Output only.getNamedPortsBuilder(int index) Output only.Output only.intOutput only.Output only.getNamedPortsOrBuilder(int index) Output only.List<? extends NamedPortOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(InstanceWithNamedPorts other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeNamedPorts(int index) Output only.setInstance(String value) Output only.setInstanceBytes(com.google.protobuf.ByteString value) Output only.setNamedPorts(int index, NamedPort value) Output only.setNamedPorts(int index, NamedPort.Builder builderForValue) Output only.Output only.setStatusBytes(com.google.protobuf.ByteString value) 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<InstanceWithNamedPorts.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<InstanceWithNamedPorts.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<InstanceWithNamedPorts.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<InstanceWithNamedPorts.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceWithNamedPorts.Builder>
-
mergeFrom
public InstanceWithNamedPorts.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<InstanceWithNamedPorts.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()Output only. [Output Only] The URL of the instance.
optional string instance = 18257045;- Specified by:
hasInstancein interfaceInstanceWithNamedPortsOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Output only. [Output Only] The URL of the instance.
optional string instance = 18257045;- Specified by:
getInstancein interfaceInstanceWithNamedPortsOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Output only. [Output Only] The URL of the instance.
optional string instance = 18257045;- Specified by:
getInstanceBytesin interfaceInstanceWithNamedPortsOrBuilder- Returns:
- The bytes for instance.
-
setInstance
Output only. [Output Only] The URL of the instance.
optional string instance = 18257045;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
Output only. [Output Only] The URL of the instance.
optional string instance = 18257045;- Returns:
- This builder for chaining.
-
setInstanceBytes
Output only. [Output Only] The URL of the instance.
optional string instance = 18257045;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
getNamedPortsList
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsListin interfaceInstanceWithNamedPortsOrBuilder
-
getNamedPortsCount
public int getNamedPortsCount()Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsCountin interfaceInstanceWithNamedPortsOrBuilder
-
getNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsin interfaceInstanceWithNamedPortsOrBuilder
-
setNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
setNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addAllNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
clearNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
removeNamedPorts
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
getNamedPortsBuilder
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
getNamedPortsOrBuilder
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsOrBuilderin interfaceInstanceWithNamedPortsOrBuilder
-
getNamedPortsOrBuilderList
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsOrBuilderListin interfaceInstanceWithNamedPortsOrBuilder
-
addNamedPortsBuilder
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
addNamedPortsBuilder
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
getNamedPortsBuilderList
Output only. [Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; -
hasStatus
public boolean hasStatus()Output only. [Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
hasStatusin interfaceInstanceWithNamedPortsOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. [Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusin interfaceInstanceWithNamedPortsOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Output only. [Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusBytesin interfaceInstanceWithNamedPortsOrBuilder- Returns:
- The bytes for status.
-
setStatus
Output only. [Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. [Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- This builder for chaining.
-
setStatusBytes
Output only. [Output Only] The status of the instance. Check the Status enum for the list of possible values.
optional string status = 181260274;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-