public static final class ListUtilizationReportsResponse.Builder extends GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder> implements ListUtilizationReportsResponseOrBuilderResponse message for 'ListUtilizationReports' request.
Protobuf type google.cloud.vmmigration.v1.ListUtilizationReportsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListUtilizationReportsResponse.BuilderImplements
ListUtilizationReportsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllUnreachable(Iterable<String> values)
public ListUtilizationReportsResponse.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 |
| ListUtilizationReportsResponse.Builder | This builder for chaining. |
addAllUtilizationReports(Iterable<? extends UtilizationReport> values)
public ListUtilizationReportsResponse.Builder addAllUtilizationReports(Iterable<? extends UtilizationReport> values)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| values | Iterable<? extends com.google.cloud.vmmigration.v1.UtilizationReport> |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListUtilizationReportsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
addUnreachable(String value)
public ListUtilizationReportsResponse.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 |
| ListUtilizationReportsResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListUtilizationReportsResponse.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 |
| ListUtilizationReportsResponse.Builder | This builder for chaining. |
addUtilizationReports(UtilizationReport value)
public ListUtilizationReportsResponse.Builder addUtilizationReports(UtilizationReport value)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | UtilizationReport |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
addUtilizationReports(UtilizationReport.Builder builderForValue)
public ListUtilizationReportsResponse.Builder addUtilizationReports(UtilizationReport.Builder builderForValue)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | UtilizationReport.Builder |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
addUtilizationReports(int index, UtilizationReport value)
public ListUtilizationReportsResponse.Builder addUtilizationReports(int index, UtilizationReport value)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| value | UtilizationReport |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
addUtilizationReports(int index, UtilizationReport.Builder builderForValue)
public ListUtilizationReportsResponse.Builder addUtilizationReports(int index, UtilizationReport.Builder builderForValue)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| builderForValue | UtilizationReport.Builder |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
addUtilizationReportsBuilder()
public UtilizationReport.Builder addUtilizationReportsBuilder()Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| UtilizationReport.Builder |
addUtilizationReportsBuilder(int index)
public UtilizationReport.Builder addUtilizationReportsBuilder(int index)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| UtilizationReport.Builder |
build()
public ListUtilizationReportsResponse build()| Type | Description |
| ListUtilizationReportsResponse |
buildPartial()
public ListUtilizationReportsResponse buildPartial()| Type | Description |
| ListUtilizationReportsResponse |
clear()
public ListUtilizationReportsResponse.Builder clear()| Type | Description |
| ListUtilizationReportsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListUtilizationReportsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
clearNextPageToken()
public ListUtilizationReportsResponse.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 |
| ListUtilizationReportsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListUtilizationReportsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
clearUnreachable()
public ListUtilizationReportsResponse.Builder clearUnreachable()Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ListUtilizationReportsResponse.Builder | This builder for chaining. |
clearUtilizationReports()
public ListUtilizationReportsResponse.Builder clearUtilizationReports()Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ListUtilizationReportsResponse.Builder |
clone()
public ListUtilizationReportsResponse.Builder clone()| Type | Description |
| ListUtilizationReportsResponse.Builder |
getDefaultInstanceForType()
public ListUtilizationReportsResponse getDefaultInstanceForType()| Type | Description |
| ListUtilizationReportsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
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. |
getUtilizationReports(int index)
public UtilizationReport getUtilizationReports(int index)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| UtilizationReport |
getUtilizationReportsBuilder(int index)
public UtilizationReport.Builder getUtilizationReportsBuilder(int index)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| UtilizationReport.Builder |
getUtilizationReportsBuilderList()
public List<UtilizationReport.Builder> getUtilizationReportsBuilderList()Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| List<Builder> |
getUtilizationReportsCount()
public int getUtilizationReportsCount()Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| int |
getUtilizationReportsList()
public List<UtilizationReport> getUtilizationReportsList()Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| List<UtilizationReport> |
getUtilizationReportsOrBuilder(int index)
public UtilizationReportOrBuilder getUtilizationReportsOrBuilder(int index)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| UtilizationReportOrBuilder |
getUtilizationReportsOrBuilderList()
public List<? extends UtilizationReportOrBuilder> getUtilizationReportsOrBuilderList()Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| List<? extends com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(ListUtilizationReportsResponse other)
public ListUtilizationReportsResponse.Builder mergeFrom(ListUtilizationReportsResponse other)| Name | Description |
| other | ListUtilizationReportsResponse |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListUtilizationReportsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ListUtilizationReportsResponse.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListUtilizationReportsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
removeUtilizationReports(int index)
public ListUtilizationReportsResponse.Builder removeUtilizationReports(int index)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListUtilizationReportsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
setNextPageToken(String value)
public ListUtilizationReportsResponse.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 |
| ListUtilizationReportsResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListUtilizationReportsResponse.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 |
| ListUtilizationReportsResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListUtilizationReportsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListUtilizationReportsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
setUnreachable(int index, String value)
public ListUtilizationReportsResponse.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 |
| ListUtilizationReportsResponse.Builder | This builder for chaining. |
setUtilizationReports(int index, UtilizationReport value)
public ListUtilizationReportsResponse.Builder setUtilizationReports(int index, UtilizationReport value)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| value | UtilizationReport |
| Type | Description |
| ListUtilizationReportsResponse.Builder |
setUtilizationReports(int index, UtilizationReport.Builder builderForValue)
public ListUtilizationReportsResponse.Builder setUtilizationReports(int index, UtilizationReport.Builder builderForValue)Output only. The list of reports.
repeated .google.cloud.vmmigration.v1.UtilizationReport utilization_reports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| index | int |
| builderForValue | UtilizationReport.Builder |
| Type | Description |
| ListUtilizationReportsResponse.Builder |