Package com.google.cloud.compute.v1
Class NetworkProfileProfileType.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkProfileProfileType.Builder>
com.google.cloud.compute.v1.NetworkProfileProfileType.Builder
- All Implemented Interfaces:
NetworkProfileProfileTypeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkProfileProfileType
public static final class NetworkProfileProfileType.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NetworkProfileProfileType.Builder>
implements NetworkProfileProfileTypeOrBuilder
Protobuf type
google.cloud.compute.v1.NetworkProfileProfileType-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Check the NetworkType enum for the list of possible values.Check the RdmaSubtype enum for the list of possible values.Check the UllSubtype enum for the list of possible values.Check the VpcSubtype enum for the list of possible values.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCheck the NetworkType enum for the list of possible values.com.google.protobuf.ByteStringCheck the NetworkType enum for the list of possible values.Check the RdmaSubtype enum for the list of possible values.com.google.protobuf.ByteStringCheck the RdmaSubtype enum for the list of possible values.Check the UllSubtype enum for the list of possible values.com.google.protobuf.ByteStringCheck the UllSubtype enum for the list of possible values.Check the VpcSubtype enum for the list of possible values.com.google.protobuf.ByteStringCheck the VpcSubtype enum for the list of possible values.booleanCheck the NetworkType enum for the list of possible values.booleanCheck the RdmaSubtype enum for the list of possible values.booleanCheck the UllSubtype enum for the list of possible values.booleanCheck the VpcSubtype enum for the list of possible values.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setNetworkType(String value) Check the NetworkType enum for the list of possible values.setNetworkTypeBytes(com.google.protobuf.ByteString value) Check the NetworkType enum for the list of possible values.setRdmaSubtype(String value) Check the RdmaSubtype enum for the list of possible values.setRdmaSubtypeBytes(com.google.protobuf.ByteString value) Check the RdmaSubtype enum for the list of possible values.setUllSubtype(String value) Check the UllSubtype enum for the list of possible values.setUllSubtypeBytes(com.google.protobuf.ByteString value) Check the UllSubtype enum for the list of possible values.setVpcSubtype(String value) Check the VpcSubtype enum for the list of possible values.setVpcSubtypeBytes(com.google.protobuf.ByteString value) Check the VpcSubtype enum for the list of possible values.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<NetworkProfileProfileType.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<NetworkProfileProfileType.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<NetworkProfileProfileType.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<NetworkProfileProfileType.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NetworkProfileProfileType.Builder>
-
mergeFrom
public NetworkProfileProfileType.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<NetworkProfileProfileType.Builder>- Throws:
IOException
-
hasNetworkType
public boolean hasNetworkType()Check the NetworkType enum for the list of possible values.
optional string network_type = 517413547;- Specified by:
hasNetworkTypein interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- Whether the networkType field is set.
-
getNetworkType
Check the NetworkType enum for the list of possible values.
optional string network_type = 517413547;- Specified by:
getNetworkTypein interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- The networkType.
-
getNetworkTypeBytes
public com.google.protobuf.ByteString getNetworkTypeBytes()Check the NetworkType enum for the list of possible values.
optional string network_type = 517413547;- Specified by:
getNetworkTypeBytesin interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- The bytes for networkType.
-
setNetworkType
Check the NetworkType enum for the list of possible values.
optional string network_type = 517413547;- Parameters:
value- The networkType to set.- Returns:
- This builder for chaining.
-
clearNetworkType
Check the NetworkType enum for the list of possible values.
optional string network_type = 517413547;- Returns:
- This builder for chaining.
-
setNetworkTypeBytes
Check the NetworkType enum for the list of possible values.
optional string network_type = 517413547;- Parameters:
value- The bytes for networkType to set.- Returns:
- This builder for chaining.
-
hasRdmaSubtype
public boolean hasRdmaSubtype()Check the RdmaSubtype enum for the list of possible values.
optional string rdma_subtype = 82019713;- Specified by:
hasRdmaSubtypein interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- Whether the rdmaSubtype field is set.
-
getRdmaSubtype
Check the RdmaSubtype enum for the list of possible values.
optional string rdma_subtype = 82019713;- Specified by:
getRdmaSubtypein interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- The rdmaSubtype.
-
getRdmaSubtypeBytes
public com.google.protobuf.ByteString getRdmaSubtypeBytes()Check the RdmaSubtype enum for the list of possible values.
optional string rdma_subtype = 82019713;- Specified by:
getRdmaSubtypeBytesin interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- The bytes for rdmaSubtype.
-
setRdmaSubtype
Check the RdmaSubtype enum for the list of possible values.
optional string rdma_subtype = 82019713;- Parameters:
value- The rdmaSubtype to set.- Returns:
- This builder for chaining.
-
clearRdmaSubtype
Check the RdmaSubtype enum for the list of possible values.
optional string rdma_subtype = 82019713;- Returns:
- This builder for chaining.
-
setRdmaSubtypeBytes
Check the RdmaSubtype enum for the list of possible values.
optional string rdma_subtype = 82019713;- Parameters:
value- The bytes for rdmaSubtype to set.- Returns:
- This builder for chaining.
-
hasUllSubtype
public boolean hasUllSubtype()Check the UllSubtype enum for the list of possible values.
optional string ull_subtype = 94311408;- Specified by:
hasUllSubtypein interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- Whether the ullSubtype field is set.
-
getUllSubtype
Check the UllSubtype enum for the list of possible values.
optional string ull_subtype = 94311408;- Specified by:
getUllSubtypein interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- The ullSubtype.
-
getUllSubtypeBytes
public com.google.protobuf.ByteString getUllSubtypeBytes()Check the UllSubtype enum for the list of possible values.
optional string ull_subtype = 94311408;- Specified by:
getUllSubtypeBytesin interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- The bytes for ullSubtype.
-
setUllSubtype
Check the UllSubtype enum for the list of possible values.
optional string ull_subtype = 94311408;- Parameters:
value- The ullSubtype to set.- Returns:
- This builder for chaining.
-
clearUllSubtype
Check the UllSubtype enum for the list of possible values.
optional string ull_subtype = 94311408;- Returns:
- This builder for chaining.
-
setUllSubtypeBytes
Check the UllSubtype enum for the list of possible values.
optional string ull_subtype = 94311408;- Parameters:
value- The bytes for ullSubtype to set.- Returns:
- This builder for chaining.
-
hasVpcSubtype
public boolean hasVpcSubtype()Check the VpcSubtype enum for the list of possible values.
optional string vpc_subtype = 356623396;- Specified by:
hasVpcSubtypein interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- Whether the vpcSubtype field is set.
-
getVpcSubtype
Check the VpcSubtype enum for the list of possible values.
optional string vpc_subtype = 356623396;- Specified by:
getVpcSubtypein interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- The vpcSubtype.
-
getVpcSubtypeBytes
public com.google.protobuf.ByteString getVpcSubtypeBytes()Check the VpcSubtype enum for the list of possible values.
optional string vpc_subtype = 356623396;- Specified by:
getVpcSubtypeBytesin interfaceNetworkProfileProfileTypeOrBuilder- Returns:
- The bytes for vpcSubtype.
-
setVpcSubtype
Check the VpcSubtype enum for the list of possible values.
optional string vpc_subtype = 356623396;- Parameters:
value- The vpcSubtype to set.- Returns:
- This builder for chaining.
-
clearVpcSubtype
Check the VpcSubtype enum for the list of possible values.
optional string vpc_subtype = 356623396;- Returns:
- This builder for chaining.
-
setVpcSubtypeBytes
Check the VpcSubtype enum for the list of possible values.
optional string vpc_subtype = 356623396;- Parameters:
value- The bytes for vpcSubtype to set.- Returns:
- This builder for chaining.
-