Package com.google.cloud.iap.v1
Class TunnelDestGroup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TunnelDestGroup.Builder>
com.google.cloud.iap.v1.TunnelDestGroup.Builder
- All Implemented Interfaces:
TunnelDestGroupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TunnelDestGroup
public static final class TunnelDestGroup.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TunnelDestGroup.Builder>
implements TunnelDestGroupOrBuilder
A TunnelDestGroup.Protobuf type
google.cloud.iap.v1.TunnelDestGroup-
Method Summary
Modifier and TypeMethodDescriptionaddAllCidrs(Iterable<String> values) Optional.addAllFqdns(Iterable<String> values) Optional.Optional.addCidrsBytes(com.google.protobuf.ByteString value) Optional.Optional.addFqdnsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Identifier.getCidrs(int index) Optional.com.google.protobuf.ByteStringgetCidrsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFqdns(int index) Optional.com.google.protobuf.ByteStringgetFqdnsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TunnelDestGroup other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.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<TunnelDestGroup.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<TunnelDestGroup.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<TunnelDestGroup.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<TunnelDestGroup.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TunnelDestGroup.Builder>
-
mergeFrom
public TunnelDestGroup.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<TunnelDestGroup.Builder>- Throws:
IOException
-
getName
Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceTunnelDestGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceTunnelDestGroupOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getCidrsList
public com.google.protobuf.ProtocolStringList getCidrsList()Optional. Unordered list. List of CIDRs that this group applies to.
repeated string cidrs = 2 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getCidrsListin interfaceTunnelDestGroupOrBuilder- Returns:
- A list containing the cidrs.
-
getCidrsCount
public int getCidrsCount()Optional. Unordered list. List of CIDRs that this group applies to.
repeated string cidrs = 2 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getCidrsCountin interfaceTunnelDestGroupOrBuilder- Returns:
- The count of cidrs.
-
getCidrs
Optional. Unordered list. List of CIDRs that this group applies to.
repeated string cidrs = 2 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getCidrsin interfaceTunnelDestGroupOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The cidrs at the given index.
-
getCidrsBytes
public com.google.protobuf.ByteString getCidrsBytes(int index) Optional. Unordered list. List of CIDRs that this group applies to.
repeated string cidrs = 2 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getCidrsBytesin interfaceTunnelDestGroupOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the cidrs at the given index.
-
setCidrs
Optional. Unordered list. List of CIDRs that this group applies to.
repeated string cidrs = 2 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The cidrs to set.- Returns:
- This builder for chaining.
-
addCidrs
Optional. Unordered list. List of CIDRs that this group applies to.
repeated string cidrs = 2 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The cidrs to add.- Returns:
- This builder for chaining.
-
addAllCidrs
Optional. Unordered list. List of CIDRs that this group applies to.
repeated string cidrs = 2 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The cidrs to add.- Returns:
- This builder for chaining.
-
clearCidrs
Optional. Unordered list. List of CIDRs that this group applies to.
repeated string cidrs = 2 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addCidrsBytes
Optional. Unordered list. List of CIDRs that this group applies to.
repeated string cidrs = 2 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the cidrs to add.- Returns:
- This builder for chaining.
-
getFqdnsList
public com.google.protobuf.ProtocolStringList getFqdnsList()Optional. Unordered list. List of FQDNs that this group applies to.
repeated string fqdns = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getFqdnsListin interfaceTunnelDestGroupOrBuilder- Returns:
- A list containing the fqdns.
-
getFqdnsCount
public int getFqdnsCount()Optional. Unordered list. List of FQDNs that this group applies to.
repeated string fqdns = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getFqdnsCountin interfaceTunnelDestGroupOrBuilder- Returns:
- The count of fqdns.
-
getFqdns
Optional. Unordered list. List of FQDNs that this group applies to.
repeated string fqdns = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getFqdnsin interfaceTunnelDestGroupOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fqdns at the given index.
-
getFqdnsBytes
public com.google.protobuf.ByteString getFqdnsBytes(int index) Optional. Unordered list. List of FQDNs that this group applies to.
repeated string fqdns = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getFqdnsBytesin interfaceTunnelDestGroupOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fqdns at the given index.
-
setFqdns
Optional. Unordered list. List of FQDNs that this group applies to.
repeated string fqdns = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The fqdns to set.- Returns:
- This builder for chaining.
-
addFqdns
Optional. Unordered list. List of FQDNs that this group applies to.
repeated string fqdns = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The fqdns to add.- Returns:
- This builder for chaining.
-
addAllFqdns
Optional. Unordered list. List of FQDNs that this group applies to.
repeated string fqdns = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The fqdns to add.- Returns:
- This builder for chaining.
-
clearFqdns
Optional. Unordered list. List of FQDNs that this group applies to.
repeated string fqdns = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addFqdnsBytes
Optional. Unordered list. List of FQDNs that this group applies to.
repeated string fqdns = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the fqdns to add.- Returns:
- This builder for chaining.
-