- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 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 GkeHubMembershipService.ListMemberships
method.
Protobuf type google.cloud.gkehub.v1beta1.ListMembershipsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListMembershipsResponse.BuilderImplements
ListMembershipsResponseOrBuilderMethods
addAllResources(Iterable<? extends Membership> values)
public ListMembershipsResponse.Builder addAllResources(Iterable<? extends Membership> values)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.gkehub.v1beta1.Membership> |
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;
Name | Description |
values | Iterable<String> The unreachable to add. |
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListMembershipsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListMembershipsResponse.Builder |
addResources(Membership value)
public ListMembershipsResponse.Builder addResources(Membership value)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Name | Description |
value | Membership |
Type | Description |
ListMembershipsResponse.Builder |
addResources(Membership.Builder builderForValue)
public ListMembershipsResponse.Builder addResources(Membership.Builder builderForValue)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Name | Description |
builderForValue | Membership.Builder |
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.v1beta1.Membership resources = 1;
Name | Description |
index | int |
value | Membership |
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.v1beta1.Membership resources = 1;
Name | Description |
index | int |
builderForValue | Membership.Builder |
Type | Description |
ListMembershipsResponse.Builder |
addResourcesBuilder()
public Membership.Builder addResourcesBuilder()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Type | Description |
Membership.Builder |
addResourcesBuilder(int index)
public Membership.Builder addResourcesBuilder(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Name | Description |
index | int |
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;
Name | Description |
value | String The unreachable to add. |
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;
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
build()
public ListMembershipsResponse build()
Type | Description |
ListMembershipsResponse |
buildPartial()
public ListMembershipsResponse buildPartial()
Type | Description |
ListMembershipsResponse |
clear()
public ListMembershipsResponse.Builder clear()
Type | Description |
ListMembershipsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListMembershipsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListMembershipsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListMembershipsResponse.Builder |
clearResources()
public ListMembershipsResponse.Builder clearResources()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
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;
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |
clone()
public ListMembershipsResponse.Builder clone()
Type | Description |
ListMembershipsResponse.Builder |
getDefaultInstanceForType()
public ListMembershipsResponse getDefaultInstanceForType()
Type | Description |
ListMembershipsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
Type | Description |
ByteString | The bytes for nextPageToken. |
getResources(int index)
public Membership getResources(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Name | Description |
index | int |
Type | Description |
Membership |
getResourcesBuilder(int index)
public Membership.Builder getResourcesBuilder(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Name | Description |
index | int |
Type | Description |
Membership.Builder |
getResourcesBuilderList()
public List<Membership.Builder> getResourcesBuilderList()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Type | Description |
List<Builder> |
getResourcesCount()
public int getResourcesCount()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Type | Description |
int |
getResourcesList()
public List<Membership> getResourcesList()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Type | Description |
List<Membership> |
getResourcesOrBuilder(int index)
public MembershipOrBuilder getResourcesOrBuilder(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Name | Description |
index | int |
Type | Description |
MembershipOrBuilder |
getResourcesOrBuilderList()
public List<? extends MembershipOrBuilder> getResourcesOrBuilderList()
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Type | Description |
List<? extends com.google.cloud.gkehub.v1beta1.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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListMembershipsResponse other)
public ListMembershipsResponse.Builder mergeFrom(ListMembershipsResponse other)
Name | Description |
other | ListMembershipsResponse |
Type | Description |
ListMembershipsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListMembershipsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListMembershipsResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListMembershipsResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListMembershipsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListMembershipsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListMembershipsResponse.Builder |
removeResources(int index)
public ListMembershipsResponse.Builder removeResources(int index)
The list of matching Memberships.
repeated .google.cloud.gkehub.v1beta1.Membership resources = 1;
Name | Description |
index | int |
Type | Description |
ListMembershipsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListMembershipsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | String The nextPageToken to set. |
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;
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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.v1beta1.Membership resources = 1;
Name | Description |
index | int |
value | Membership |
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.v1beta1.Membership resources = 1;
Name | Description |
index | int |
builderForValue | Membership.Builder |
Type | Description |
ListMembershipsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListMembershipsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
index | int The index to set the value at. |
value | String The unreachable to set. |
Type | Description |
ListMembershipsResponse.Builder | This builder for chaining. |