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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder> implements InstanceWithNamedPortsOrBuilder
Protobuf typegoogle.cloud.compute.v1.InstanceWithNamedPorts
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceWithNamedPorts.BuilderaddAllNamedPorts(Iterable<? extends NamedPort> values)[Output Only] The named ports that belong to this instance group.InstanceWithNamedPorts.BuilderaddNamedPorts(int index, NamedPort value)[Output Only] The named ports that belong to this instance group.InstanceWithNamedPorts.BuilderaddNamedPorts(int index, NamedPort.Builder builderForValue)[Output Only] The named ports that belong to this instance group.InstanceWithNamedPorts.BuilderaddNamedPorts(NamedPort value)[Output Only] The named ports that belong to this instance group.InstanceWithNamedPorts.BuilderaddNamedPorts(NamedPort.Builder builderForValue)[Output Only] The named ports that belong to this instance group.NamedPort.BuilderaddNamedPortsBuilder()[Output Only] The named ports that belong to this instance group.NamedPort.BuilderaddNamedPortsBuilder(int index)[Output Only] The named ports that belong to this instance group.InstanceWithNamedPorts.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceWithNamedPortsbuild()InstanceWithNamedPortsbuildPartial()InstanceWithNamedPorts.Builderclear()InstanceWithNamedPorts.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InstanceWithNamedPorts.BuilderclearInstance()[Output Only] The URL of the instance.InstanceWithNamedPorts.BuilderclearNamedPorts()[Output Only] The named ports that belong to this instance group.InstanceWithNamedPorts.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InstanceWithNamedPorts.BuilderclearStatus()[Output Only] The status of the instance.InstanceWithNamedPorts.Builderclone()InstanceWithNamedPortsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstance()[Output Only] The URL of the instance.com.google.protobuf.ByteStringgetInstanceBytes()[Output Only] The URL of the instance.NamedPortgetNamedPorts(int index)[Output Only] The named ports that belong to this instance group.NamedPort.BuildergetNamedPortsBuilder(int index)[Output Only] The named ports that belong to this instance group.List<NamedPort.Builder>getNamedPortsBuilderList()[Output Only] The named ports that belong to this instance group.intgetNamedPortsCount()[Output Only] The named ports that belong to this instance group.List<NamedPort>getNamedPortsList()[Output Only] The named ports that belong to this instance group.NamedPortOrBuildergetNamedPortsOrBuilder(int index)[Output Only] The named ports that belong to this instance group.List<? extends NamedPortOrBuilder>getNamedPortsOrBuilderList()[Output Only] The named ports that belong to this instance group.StringgetStatus()[Output Only] The status of the instance.com.google.protobuf.ByteStringgetStatusBytes()[Output Only] The status of the instance.booleanhasInstance()[Output Only] The URL of the instance.booleanhasStatus()[Output Only] The status of the instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InstanceWithNamedPorts.BuildermergeFrom(InstanceWithNamedPorts other)InstanceWithNamedPorts.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InstanceWithNamedPorts.BuildermergeFrom(com.google.protobuf.Message other)InstanceWithNamedPorts.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InstanceWithNamedPorts.BuilderremoveNamedPorts(int index)[Output Only] The named ports that belong to this instance group.InstanceWithNamedPorts.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceWithNamedPorts.BuildersetInstance(String value)[Output Only] The URL of the instance.InstanceWithNamedPorts.BuildersetInstanceBytes(com.google.protobuf.ByteString value)[Output Only] The URL of the instance.InstanceWithNamedPorts.BuildersetNamedPorts(int index, NamedPort value)[Output Only] The named ports that belong to this instance group.InstanceWithNamedPorts.BuildersetNamedPorts(int index, NamedPort.Builder builderForValue)[Output Only] The named ports that belong to this instance group.InstanceWithNamedPorts.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InstanceWithNamedPorts.BuildersetStatus(String value)[Output Only] The status of the instance.InstanceWithNamedPorts.BuildersetStatusBytes(com.google.protobuf.ByteString value)[Output Only] The status of the instance.InstanceWithNamedPorts.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
clear
public InstanceWithNamedPorts.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
getDefaultInstanceForType
public InstanceWithNamedPorts getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstanceWithNamedPorts build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstanceWithNamedPorts buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstanceWithNamedPorts.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
setField
public InstanceWithNamedPorts.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
clearField
public InstanceWithNamedPorts.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
clearOneof
public InstanceWithNamedPorts.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
setRepeatedField
public InstanceWithNamedPorts.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
addRepeatedField
public InstanceWithNamedPorts.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
mergeFrom
public InstanceWithNamedPorts.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceWithNamedPorts.Builder>
-
mergeFrom
public InstanceWithNamedPorts.Builder mergeFrom(InstanceWithNamedPorts other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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] The URL of the instance.
optional string instance = 18257045;- Specified by:
hasInstancein interfaceInstanceWithNamedPortsOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
public String getInstance()
[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] The URL of the instance.
optional string instance = 18257045;- Specified by:
getInstanceBytesin interfaceInstanceWithNamedPortsOrBuilder- Returns:
- The bytes for instance.
-
setInstance
public InstanceWithNamedPorts.Builder setInstance(String value)
[Output Only] The URL of the instance.
optional string instance = 18257045;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
public InstanceWithNamedPorts.Builder clearInstance()
[Output Only] The URL of the instance.
optional string instance = 18257045;- Returns:
- This builder for chaining.
-
setInstanceBytes
public InstanceWithNamedPorts.Builder setInstanceBytes(com.google.protobuf.ByteString value)
[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
public List<NamedPort> getNamedPortsList()
[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] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;- Specified by:
getNamedPortsCountin interfaceInstanceWithNamedPortsOrBuilder
-
getNamedPorts
public NamedPort getNamedPorts(int index)
[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
public InstanceWithNamedPorts.Builder setNamedPorts(int index, NamedPort value)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
setNamedPorts
public InstanceWithNamedPorts.Builder setNamedPorts(int index, NamedPort.Builder builderForValue)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
addNamedPorts
public InstanceWithNamedPorts.Builder addNamedPorts(NamedPort value)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
addNamedPorts
public InstanceWithNamedPorts.Builder addNamedPorts(int index, NamedPort value)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
addNamedPorts
public InstanceWithNamedPorts.Builder addNamedPorts(NamedPort.Builder builderForValue)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
addNamedPorts
public InstanceWithNamedPorts.Builder addNamedPorts(int index, NamedPort.Builder builderForValue)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
addAllNamedPorts
public InstanceWithNamedPorts.Builder addAllNamedPorts(Iterable<? extends NamedPort> values)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
clearNamedPorts
public InstanceWithNamedPorts.Builder clearNamedPorts()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
removeNamedPorts
public InstanceWithNamedPorts.Builder removeNamedPorts(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPortsBuilder
public NamedPort.Builder getNamedPortsBuilder(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPortsOrBuilder
public NamedPortOrBuilder getNamedPortsOrBuilder(int index)
[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
public List<? extends NamedPortOrBuilder> getNamedPortsOrBuilderList()
[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
public NamedPort.Builder addNamedPortsBuilder()
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
addNamedPortsBuilder
public NamedPort.Builder addNamedPortsBuilder(int index)
[Output Only] The named ports that belong to this instance group.
repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732;
-
getNamedPortsBuilderList
public List<NamedPort.Builder> getNamedPortsBuilderList()
[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] 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
public String getStatus()
[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] 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
public InstanceWithNamedPorts.Builder setStatus(String value)
[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
public InstanceWithNamedPorts.Builder clearStatus()
[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
public InstanceWithNamedPorts.Builder setStatusBytes(com.google.protobuf.ByteString value)
[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.
-
setUnknownFields
public final InstanceWithNamedPorts.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
mergeUnknownFields
public final InstanceWithNamedPorts.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceWithNamedPorts.Builder>
-
-