Package com.google.cloud.vmmigration.v1
Class ListUtilizationReportsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
- com.google.cloud.vmmigration.v1.ListUtilizationReportsResponse.Builder
-
- All Implemented Interfaces:
ListUtilizationReportsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListUtilizationReportsResponse
public static final class ListUtilizationReportsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder> implements ListUtilizationReportsResponseOrBuilder
Response message for 'ListUtilizationReports' request.
Protobuf typegoogle.cloud.vmmigration.v1.ListUtilizationReportsResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
clear
public ListUtilizationReportsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
getDefaultInstanceForType
public ListUtilizationReportsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListUtilizationReportsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListUtilizationReportsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListUtilizationReportsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
setField
public ListUtilizationReportsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
clearField
public ListUtilizationReportsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
clearOneof
public ListUtilizationReportsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
setRepeatedField
public ListUtilizationReportsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
addRepeatedField
public ListUtilizationReportsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
mergeFrom
public ListUtilizationReportsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListUtilizationReportsResponse.Builder>
-
mergeFrom
public ListUtilizationReportsResponse.Builder mergeFrom(ListUtilizationReportsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
mergeFrom
public ListUtilizationReportsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListUtilizationReportsResponse.Builder>- Throws:
IOException
-
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];- Specified by:
getUtilizationReportsListin interfaceListUtilizationReportsResponseOrBuilder
-
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];- Specified by:
getUtilizationReportsCountin interfaceListUtilizationReportsResponseOrBuilder
-
getUtilizationReports
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];- Specified by:
getUtilizationReportsin interfaceListUtilizationReportsResponseOrBuilder
-
setUtilizationReports
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];
-
setUtilizationReports
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];
-
addUtilizationReports
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];
-
addUtilizationReports
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];
-
addUtilizationReports
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];
-
addUtilizationReports
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];
-
addAllUtilizationReports
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];
-
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];
-
removeUtilizationReports
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];
-
getUtilizationReportsBuilder
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];
-
getUtilizationReportsOrBuilder
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];- Specified by:
getUtilizationReportsOrBuilderin interfaceListUtilizationReportsResponseOrBuilder
-
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];- Specified by:
getUtilizationReportsOrBuilderListin interfaceListUtilizationReportsResponseOrBuilder
-
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];
-
addUtilizationReportsBuilder
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];
-
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];
-
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];- Specified by:
getNextPageTokenin interfaceListUtilizationReportsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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];- Specified by:
getNextPageTokenBytesin interfaceListUtilizationReportsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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];- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListUtilizationReportsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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];- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnreachableListin interfaceListUtilizationReportsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnreachableCountin interfaceListUtilizationReportsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnreachablein interfaceListUtilizationReportsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnreachableBytesin interfaceListUtilizationReportsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
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];- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListUtilizationReportsResponse.Builder addUnreachable(String value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
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];- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListUtilizationReportsResponse.Builder clearUnreachable()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListUtilizationReportsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListUtilizationReportsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
mergeUnknownFields
public final ListUtilizationReportsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListUtilizationReportsResponse.Builder>
-
-