public static final class ListGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListGroupsResponse.Builder> implements ListGroupsResponseOrBuilderResponse message for 'ListGroups' request.
Protobuf type google.cloud.vmmigration.v1.ListGroupsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListGroupsResponse.BuilderImplements
ListGroupsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllGroups(Iterable<? extends Group> values)
public ListGroupsResponse.Builder addAllGroups(Iterable<? extends Group> values)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| values | Iterable<? extends com.google.cloud.vmmigration.v1.Group> |
| Type | Description |
| ListGroupsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListGroupsResponse.Builder addAllUnreachable(Iterable<String> values)Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| values | Iterable<String>The unreachable to add. |
| Type | Description |
| ListGroupsResponse.Builder | This builder for chaining. |
addGroups(Group value)
public ListGroupsResponse.Builder addGroups(Group value)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Group |
| Type | Description |
| ListGroupsResponse.Builder |
addGroups(Group.Builder builderForValue)
public ListGroupsResponse.Builder addGroups(Group.Builder builderForValue)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Group.Builder |
| Type | Description |
| ListGroupsResponse.Builder |
addGroups(int index, Group value)
public ListGroupsResponse.Builder addGroups(int index, Group value)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| value | Group |
| Type | Description |
| ListGroupsResponse.Builder |
addGroups(int index, Group.Builder builderForValue)
public ListGroupsResponse.Builder addGroups(int index, Group.Builder builderForValue)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| builderForValue | Group.Builder |
| Type | Description |
| ListGroupsResponse.Builder |
addGroupsBuilder()
public Group.Builder addGroupsBuilder()Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Group.Builder |
addGroupsBuilder(int index)
public Group.Builder addGroupsBuilder(int index)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| Group.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ListGroupsResponse.Builder |
addUnreachable(String value)
public ListGroupsResponse.Builder addUnreachable(String value)Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | StringThe unreachable to add. |
| Type | Description |
| ListGroupsResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListGroupsResponse.Builder addUnreachableBytes(ByteString value)Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | ByteStringThe bytes of the unreachable to add. |
| Type | Description |
| ListGroupsResponse.Builder | This builder for chaining. |
build()
public ListGroupsResponse build()| Type | Description |
| ListGroupsResponse |
buildPartial()
public ListGroupsResponse buildPartial()| Type | Description |
| ListGroupsResponse |
clear()
public ListGroupsResponse.Builder clear()| Type | Description |
| ListGroupsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ListGroupsResponse.Builder |
clearGroups()
public ListGroupsResponse.Builder clearGroups()Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ListGroupsResponse.Builder |
clearNextPageToken()
public ListGroupsResponse.Builder clearNextPageToken() Output only. A token, which can be sent as page_token to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ListGroupsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ListGroupsResponse.Builder |
clearUnreachable()
public ListGroupsResponse.Builder clearUnreachable()Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ListGroupsResponse.Builder | This builder for chaining. |
clone()
public ListGroupsResponse.Builder clone()| Type | Description |
| ListGroupsResponse.Builder |
getDefaultInstanceForType()
public ListGroupsResponse getDefaultInstanceForType()| Type | Description |
| ListGroupsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getGroups(int index)
public Group getGroups(int index)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| Group |
getGroupsBuilder(int index)
public Group.Builder getGroupsBuilder(int index)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| Group.Builder |
getGroupsBuilderList()
public List<Group.Builder> getGroupsBuilderList()Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| List<Builder> |
getGroupsCount()
public int getGroupsCount()Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| int |
getGroupsList()
public List<Group> getGroupsList()Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| List<Group> |
getGroupsOrBuilder(int index)
public GroupOrBuilder getGroupsOrBuilder(int index)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| GroupOrBuilder |
getGroupsOrBuilderList()
public List<? extends GroupOrBuilder> getGroupsOrBuilderList()Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| List<? extends com.google.cloud.vmmigration.v1.GroupOrBuilder> |
getNextPageToken()
public String getNextPageToken() Output only. A token, which can be sent as page_token to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() Output only. A token, which can be sent as page_token to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ByteString | The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| int | The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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(ListGroupsResponse other)
public ListGroupsResponse.Builder mergeFrom(ListGroupsResponse other)| Name | Description |
| other | ListGroupsResponse |
| Type | Description |
| ListGroupsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ListGroupsResponse.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ListGroupsResponse.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ListGroupsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ListGroupsResponse.Builder |
removeGroups(int index)
public ListGroupsResponse.Builder removeGroups(int index)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| ListGroupsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ListGroupsResponse.Builder |
setGroups(int index, Group value)
public ListGroupsResponse.Builder setGroups(int index, Group value)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| value | Group |
| Type | Description |
| ListGroupsResponse.Builder |
setGroups(int index, Group.Builder builderForValue)
public ListGroupsResponse.Builder setGroups(int index, Group.Builder builderForValue)Output only. The list of groups response.
repeated .google.cloud.vmmigration.v1.Group groups = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| builderForValue | Group.Builder |
| Type | Description |
| ListGroupsResponse.Builder |
setNextPageToken(String value)
public ListGroupsResponse.Builder setNextPageToken(String value) Output only. A token, which can be sent as page_token to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | StringThe nextPageToken to set. |
| Type | Description |
| ListGroupsResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListGroupsResponse.Builder setNextPageTokenBytes(ByteString value) Output only. A token, which can be sent as page_token to retrieve the
next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | ByteStringThe bytes for nextPageToken to set. |
| Type | Description |
| ListGroupsResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ListGroupsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ListGroupsResponse.Builder |
setUnreachable(int index, String value)
public ListGroupsResponse.Builder setUnreachable(int index, String value)Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe unreachable to set. |
| Type | Description |
| ListGroupsResponse.Builder | This builder for chaining. |