Package com.google.cloud.compute.v1
Class Wire.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Wire.Builder>
com.google.cloud.compute.v1.Wire.Builder
- All Implemented Interfaces:
WireOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Wire
public static final class Wire.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Wire.Builder>
implements WireOrBuilder
A pseudowire that connects two Interconnect connections.Protobuf type
google.cloud.compute.v1.Wire-
Method Summary
Modifier and TypeMethodDescriptionaddAllEndpoints(Iterable<? extends WireEndpoint> values) Output only.addEndpoints(int index, WireEndpoint value) Output only.addEndpoints(int index, WireEndpoint.Builder builderForValue) Output only.addEndpoints(WireEndpoint value) Output only.addEndpoints(WireEndpoint.Builder builderForValue) Output only.Output only.addEndpointsBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.booleanOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEndpoints(int index) Output only.getEndpointsBuilder(int index) Output only.Output only.intOutput only.Output only.getEndpointsOrBuilder(int index) Output only.List<? extends WireEndpointOrBuilder>Output only.getLabel()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.booleanOutput only.booleanhasLabel()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.removeEndpoints(int index) Output only.setAdminEnabled(boolean value) Output only.setEndpoints(int index, WireEndpoint value) Output only.setEndpoints(int index, WireEndpoint.Builder builderForValue) Output only.Output only.setLabelBytes(com.google.protobuf.ByteString value) Output only.setWireProperties(WireProperties value) Output only.setWireProperties(WireProperties.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<Wire.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<Wire.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<Wire.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<Wire.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Wire.Builder>
-
mergeFrom
public Wire.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<Wire.Builder>- Throws:
IOException
-
hasAdminEnabled
public boolean hasAdminEnabled()Output only. [Output Only] Indicates whether the wire is enabled. When false, the wire is disabled. When true and when the wire group of the wire is also enabled, the wire is enabled. Defaults to true.
optional bool admin_enabled = 445675089;- Specified by:
hasAdminEnabledin interfaceWireOrBuilder- Returns:
- Whether the adminEnabled field is set.
-
getAdminEnabled
public boolean getAdminEnabled()Output only. [Output Only] Indicates whether the wire is enabled. When false, the wire is disabled. When true and when the wire group of the wire is also enabled, the wire is enabled. Defaults to true.
optional bool admin_enabled = 445675089;- Specified by:
getAdminEnabledin interfaceWireOrBuilder- Returns:
- The adminEnabled.
-
setAdminEnabled
Output only. [Output Only] Indicates whether the wire is enabled. When false, the wire is disabled. When true and when the wire group of the wire is also enabled, the wire is enabled. Defaults to true.
optional bool admin_enabled = 445675089;- Parameters:
value- The adminEnabled to set.- Returns:
- This builder for chaining.
-
clearAdminEnabled
Output only. [Output Only] Indicates whether the wire is enabled. When false, the wire is disabled. When true and when the wire group of the wire is also enabled, the wire is enabled. Defaults to true.
optional bool admin_enabled = 445675089;- Returns:
- This builder for chaining.
-
getEndpointsList
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;- Specified by:
getEndpointsListin interfaceWireOrBuilder
-
getEndpointsCount
public int getEndpointsCount()Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;- Specified by:
getEndpointsCountin interfaceWireOrBuilder
-
getEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;- Specified by:
getEndpointsin interfaceWireOrBuilder
-
setEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
setEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
addEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
addEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
addEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
addEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
addAllEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
clearEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
removeEndpoints
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
getEndpointsBuilder
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
getEndpointsOrBuilder
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;- Specified by:
getEndpointsOrBuilderin interfaceWireOrBuilder
-
getEndpointsOrBuilderList
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;- Specified by:
getEndpointsOrBuilderListin interfaceWireOrBuilder
-
addEndpointsBuilder
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
addEndpointsBuilder
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
getEndpointsBuilderList
Output only. Wire endpoints are specific Interconnect connections.
repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950; -
hasLabel
public boolean hasLabel()Output only. [Output Only] A label that identifies the wire. The format of this label combines the existing labels of the wire group endpoints and Interconnect connections used by this wire in alphabetical order as follows: `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where: - ENDPOINT_A and ENDPOINT_B: are the labels that you entered as map keys when you specified the wire group endpoint objects. - CONNECTION_A1 and CONNECTION_B1: are the labels that you entered as map keys when you specified the wire group Interconnect objects.
optional string label = 102727412;- Specified by:
hasLabelin interfaceWireOrBuilder- Returns:
- Whether the label field is set.
-
getLabel
Output only. [Output Only] A label that identifies the wire. The format of this label combines the existing labels of the wire group endpoints and Interconnect connections used by this wire in alphabetical order as follows: `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where: - ENDPOINT_A and ENDPOINT_B: are the labels that you entered as map keys when you specified the wire group endpoint objects. - CONNECTION_A1 and CONNECTION_B1: are the labels that you entered as map keys when you specified the wire group Interconnect objects.
optional string label = 102727412;- Specified by:
getLabelin interfaceWireOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Output only. [Output Only] A label that identifies the wire. The format of this label combines the existing labels of the wire group endpoints and Interconnect connections used by this wire in alphabetical order as follows: `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where: - ENDPOINT_A and ENDPOINT_B: are the labels that you entered as map keys when you specified the wire group endpoint objects. - CONNECTION_A1 and CONNECTION_B1: are the labels that you entered as map keys when you specified the wire group Interconnect objects.
optional string label = 102727412;- Specified by:
getLabelBytesin interfaceWireOrBuilder- Returns:
- The bytes for label.
-
setLabel
Output only. [Output Only] A label that identifies the wire. The format of this label combines the existing labels of the wire group endpoints and Interconnect connections used by this wire in alphabetical order as follows: `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where: - ENDPOINT_A and ENDPOINT_B: are the labels that you entered as map keys when you specified the wire group endpoint objects. - CONNECTION_A1 and CONNECTION_B1: are the labels that you entered as map keys when you specified the wire group Interconnect objects.
optional string label = 102727412;- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
Output only. [Output Only] A label that identifies the wire. The format of this label combines the existing labels of the wire group endpoints and Interconnect connections used by this wire in alphabetical order as follows: `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where: - ENDPOINT_A and ENDPOINT_B: are the labels that you entered as map keys when you specified the wire group endpoint objects. - CONNECTION_A1 and CONNECTION_B1: are the labels that you entered as map keys when you specified the wire group Interconnect objects.
optional string label = 102727412;- Returns:
- This builder for chaining.
-
setLabelBytes
Output only. [Output Only] A label that identifies the wire. The format of this label combines the existing labels of the wire group endpoints and Interconnect connections used by this wire in alphabetical order as follows: `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where: - ENDPOINT_A and ENDPOINT_B: are the labels that you entered as map keys when you specified the wire group endpoint objects. - CONNECTION_A1 and CONNECTION_B1: are the labels that you entered as map keys when you specified the wire group Interconnect objects.
optional string label = 102727412;- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
hasWireProperties
public boolean hasWireProperties()Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;- Specified by:
hasWirePropertiesin interfaceWireOrBuilder- Returns:
- Whether the wireProperties field is set.
-
getWireProperties
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;- Specified by:
getWirePropertiesin interfaceWireOrBuilder- Returns:
- The wireProperties.
-
setWireProperties
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469; -
setWireProperties
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469; -
mergeWireProperties
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469; -
clearWireProperties
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469; -
getWirePropertiesBuilder
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469; -
getWirePropertiesOrBuilder
Output only. [Output Only] Properties of the wire.
optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;- Specified by:
getWirePropertiesOrBuilderin interfaceWireOrBuilder
-