public static final class TunnelDestGroup.Builder extends GeneratedMessageV3.Builder<TunnelDestGroup.Builder> implements TunnelDestGroupOrBuilderA TunnelDestGroup.
Protobuf type google.cloud.iap.v1.TunnelDestGroup
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TunnelDestGroup.BuilderImplements
TunnelDestGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCidrs(Iterable<String> values)
public TunnelDestGroup.Builder addAllCidrs(Iterable<String> values)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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The cidrs to add. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
addAllFqdns(Iterable<String> values)
public TunnelDestGroup.Builder addAllFqdns(Iterable<String> values)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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The fqdns to add. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
addCidrs(String value)
public TunnelDestGroup.Builder addCidrs(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cidrs to add. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
addCidrsBytes(ByteString value)
public TunnelDestGroup.Builder addCidrsBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the cidrs to add. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
addFqdns(String value)
public TunnelDestGroup.Builder addFqdns(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fqdns to add. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
addFqdnsBytes(ByteString value)
public TunnelDestGroup.Builder addFqdnsBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the fqdns to add. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TunnelDestGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
build()
public TunnelDestGroup build()| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup |
|
buildPartial()
public TunnelDestGroup buildPartial()| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup |
|
clear()
public TunnelDestGroup.Builder clear()| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
clearCidrs()
public TunnelDestGroup.Builder 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 | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TunnelDestGroup.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
clearFqdns()
public TunnelDestGroup.Builder 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 | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
clearName()
public TunnelDestGroup.Builder 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 | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TunnelDestGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
clone()
public TunnelDestGroup.Builder clone()| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
getCidrs(int index)
public String getCidrs(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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The cidrs at the given index. |
getCidrsBytes(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the cidrs at the given index. |
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];
| Returns | |
|---|---|
| Type | Description |
int |
The count of cidrs. |
getCidrsList()
public 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the cidrs. |
getDefaultInstanceForType()
public TunnelDestGroup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFqdns(int index)
public String getFqdns(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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The fqdns at the given index. |
getFqdnsBytes(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the fqdns at the given index. |
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];
| Returns | |
|---|---|
| Type | Description |
int |
The count of fqdns. |
getFqdnsList()
public 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the fqdns. |
getName()
public String 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];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TunnelDestGroup other)
public TunnelDestGroup.Builder mergeFrom(TunnelDestGroup other)| Parameter | |
|---|---|
| Name | Description |
other |
TunnelDestGroup |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TunnelDestGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TunnelDestGroup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TunnelDestGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
setCidrs(int index, String value)
public TunnelDestGroup.Builder setCidrs(int index, String value)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 | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe cidrs to set. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TunnelDestGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
setFqdns(int index, String value)
public TunnelDestGroup.Builder setFqdns(int index, String value)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 | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe fqdns to set. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
setName(String value)
public TunnelDestGroup.Builder setName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public TunnelDestGroup.Builder setNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TunnelDestGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TunnelDestGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TunnelDestGroup.Builder |
|