- 1.48.0 (latest)
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class ListMembershipsResponse.Builder extends GeneratedMessageV3.Builder<ListMembershipsResponse.Builder> implements ListMembershipsResponseOrBuilder
Response message for the GkeHub.ListMemberships
method.
Protobuf type google.cloud.gkehub.v1alpha2.ListMembershipsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListMembershipsResponse.BuilderImplements
ListMembershipsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllResources(Iterable<? extends Membership> values)
public ListMembershipsResponse.Builder addAllResources(Iterable<? extends Membership> values)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.gkehub.v1alpha2.Membership> |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListMembershipsResponse.Builder addAllUnreachable(Iterable<String> values)
List of locations that could not be reached while fetching this list.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListMembershipsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
addResources(Membership value)
public ListMembershipsResponse.Builder addResources(Membership value)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameter | |
---|---|
Name | Description |
value | Membership |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
addResources(Membership.Builder builderForValue)
public ListMembershipsResponse.Builder addResources(Membership.Builder builderForValue)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Membership.Builder |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
addResources(int index, Membership value)
public ListMembershipsResponse.Builder addResources(int index, Membership value)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Membership |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
addResources(int index, Membership.Builder builderForValue)
public ListMembershipsResponse.Builder addResources(int index, Membership.Builder builderForValue)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Membership.Builder |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
addResourcesBuilder()
public Membership.Builder addResourcesBuilder()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Returns | |
---|---|
Type | Description |
Membership.Builder |
addResourcesBuilder(int index)
public Membership.Builder addResourcesBuilder(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Membership.Builder |
addUnreachable(String value)
public ListMembershipsResponse.Builder addUnreachable(String value)
List of locations that could not be reached while fetching this list.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value | String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListMembershipsResponse.Builder addUnreachableBytes(ByteString value)
List of locations that could not be reached while fetching this list.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
build()
public ListMembershipsResponse build()
Returns | |
---|---|
Type | Description |
ListMembershipsResponse |
buildPartial()
public ListMembershipsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListMembershipsResponse |
clear()
public ListMembershipsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListMembershipsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
clearNextPageToken()
public ListMembershipsResponse.Builder clearNextPageToken()
A token to request the next page of resources from the
ListMemberships
method. The value of an empty string means that
there are no more resources to return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListMembershipsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
clearResources()
public ListMembershipsResponse.Builder clearResources()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
clearUnreachable()
public ListMembershipsResponse.Builder clearUnreachable()
List of locations that could not be reached while fetching this list.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
clone()
public ListMembershipsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
getDefaultInstanceForType()
public ListMembershipsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListMembershipsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
A token to request the next page of resources from the
ListMemberships
method. The value of an empty string means that
there are no more resources to return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to request the next page of resources from the
ListMemberships
method. The value of an empty string means that
there are no more resources to return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for nextPageToken. |
getResources(int index)
public Membership getResources(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Membership |
getResourcesBuilder(int index)
public Membership.Builder getResourcesBuilder(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Membership.Builder |
getResourcesBuilderList()
public List<Membership.Builder> getResourcesBuilderList()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getResourcesCount()
public int getResourcesCount()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Returns | |
---|---|
Type | Description |
int |
getResourcesList()
public List<Membership> getResourcesList()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Returns | |
---|---|
Type | Description |
List<Membership> |
getResourcesOrBuilder(int index)
public MembershipOrBuilder getResourcesOrBuilder(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
MembershipOrBuilder |
getResourcesOrBuilderList()
public List<? extends MembershipOrBuilder> getResourcesOrBuilderList()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.gkehub.v1alpha2.MembershipOrBuilder> |
getUnreachable(int index)
public String getUnreachable(int index)
List of locations that could not be reached while fetching this list.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
List of locations that could not be reached while fetching this list.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
List of locations that could not be reached while fetching this list.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
int | The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
List of locations that could not be reached while fetching this list.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListMembershipsResponse other)
public ListMembershipsResponse.Builder mergeFrom(ListMembershipsResponse other)
Parameter | |
---|---|
Name | Description |
other | ListMembershipsResponse |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListMembershipsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListMembershipsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListMembershipsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
removeResources(int index)
public ListMembershipsResponse.Builder removeResources(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListMembershipsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
setNextPageToken(String value)
public ListMembershipsResponse.Builder setNextPageToken(String value)
A token to request the next page of resources from the
ListMemberships
method. The value of an empty string means that
there are no more resources to return.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListMembershipsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to request the next page of resources from the
ListMemberships
method. The value of an empty string means that
there are no more resources to return.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListMembershipsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
setResources(int index, Membership value)
public ListMembershipsResponse.Builder setResources(int index, Membership value)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Membership |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
setResources(int index, Membership.Builder builderForValue)
public ListMembershipsResponse.Builder setResources(int index, Membership.Builder builderForValue)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Membership.Builder |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListMembershipsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder |
setUnreachable(int index, String value)
public ListMembershipsResponse.Builder setUnreachable(int index, String value)
List of locations that could not be reached while fetching this list.
repeated string unreachable = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |