public static final class ListEndpointPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListEndpointPoliciesResponse.Builder> implements ListEndpointPoliciesResponseOrBuilder
Response returned by the ListEndpointPolicies method.
Protobuf type google.cloud.networkservices.v1.ListEndpointPoliciesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllEndpointPolicies(Iterable<? extends EndpointPolicy> values)
public ListEndpointPoliciesResponse.Builder addAllEndpointPolicies(Iterable<? extends EndpointPolicy> values)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.networkservices.v1.EndpointPolicy>
|
addEndpointPolicies(EndpointPolicy value)
public ListEndpointPoliciesResponse.Builder addEndpointPolicies(EndpointPolicy value)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
addEndpointPolicies(EndpointPolicy.Builder builderForValue)
public ListEndpointPoliciesResponse.Builder addEndpointPolicies(EndpointPolicy.Builder builderForValue)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
addEndpointPolicies(int index, EndpointPolicy value)
public ListEndpointPoliciesResponse.Builder addEndpointPolicies(int index, EndpointPolicy value)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
addEndpointPolicies(int index, EndpointPolicy.Builder builderForValue)
public ListEndpointPoliciesResponse.Builder addEndpointPolicies(int index, EndpointPolicy.Builder builderForValue)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
addEndpointPoliciesBuilder()
public EndpointPolicy.Builder addEndpointPoliciesBuilder()
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
addEndpointPoliciesBuilder(int index)
public EndpointPolicy.Builder addEndpointPoliciesBuilder(int index)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEndpointPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListEndpointPoliciesResponse build()
buildPartial()
public ListEndpointPoliciesResponse buildPartial()
clear()
public ListEndpointPoliciesResponse.Builder clear()
Overrides
clearEndpointPolicies()
public ListEndpointPoliciesResponse.Builder clearEndpointPolicies()
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
clearField(Descriptors.FieldDescriptor field)
public ListEndpointPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListEndpointPoliciesResponse.Builder clearNextPageToken()
If there might be more results than those appearing in this response, then
next_page_token
is included. To get the next set of results, call this
method again using the value of next_page_token
as page_token
.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEndpointPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListEndpointPoliciesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListEndpointPoliciesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEndpointPolicies(int index)
public EndpointPolicy getEndpointPolicies(int index)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
Parameter |
Name |
Description |
index |
int
|
getEndpointPoliciesBuilder(int index)
public EndpointPolicy.Builder getEndpointPoliciesBuilder(int index)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
Parameter |
Name |
Description |
index |
int
|
getEndpointPoliciesBuilderList()
public List<EndpointPolicy.Builder> getEndpointPoliciesBuilderList()
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
getEndpointPoliciesCount()
public int getEndpointPoliciesCount()
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
Returns |
Type |
Description |
int |
|
getEndpointPoliciesList()
public List<EndpointPolicy> getEndpointPoliciesList()
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
getEndpointPoliciesOrBuilder(int index)
public EndpointPolicyOrBuilder getEndpointPoliciesOrBuilder(int index)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
Parameter |
Name |
Description |
index |
int
|
getEndpointPoliciesOrBuilderList()
public List<? extends EndpointPolicyOrBuilder> getEndpointPoliciesOrBuilderList()
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.networkservices.v1.EndpointPolicyOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()
If there might be more results than those appearing in this response, then
next_page_token
is included. To get the next set of results, call this
method again using the value of next_page_token
as page_token
.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If there might be more results than those appearing in this response, then
next_page_token
is included. To get the next set of results, call this
method again using the value of next_page_token
as page_token
.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListEndpointPoliciesResponse other)
public ListEndpointPoliciesResponse.Builder mergeFrom(ListEndpointPoliciesResponse other)
public ListEndpointPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListEndpointPoliciesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEndpointPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeEndpointPolicies(int index)
public ListEndpointPoliciesResponse.Builder removeEndpointPolicies(int index)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
Parameter |
Name |
Description |
index |
int
|
setEndpointPolicies(int index, EndpointPolicy value)
public ListEndpointPoliciesResponse.Builder setEndpointPolicies(int index, EndpointPolicy value)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
setEndpointPolicies(int index, EndpointPolicy.Builder builderForValue)
public ListEndpointPoliciesResponse.Builder setEndpointPolicies(int index, EndpointPolicy.Builder builderForValue)
List of EndpointPolicy resources.
repeated .google.cloud.networkservices.v1.EndpointPolicy endpoint_policies = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListEndpointPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListEndpointPoliciesResponse.Builder setNextPageToken(String value)
If there might be more results than those appearing in this response, then
next_page_token
is included. To get the next set of results, call this
method again using the value of next_page_token
as page_token
.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListEndpointPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)
If there might be more results than those appearing in this response, then
next_page_token
is included. To get the next set of results, call this
method again using the value of next_page_token
as page_token
.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListEndpointPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEndpointPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides