public static final class ListWorkloadsResponse.Builder extends GeneratedMessageV3.Builder<ListWorkloadsResponse.Builder> implements ListWorkloadsResponseOrBuilder
Response of ListWorkloads endpoint.
Protobuf type google.cloud.assuredworkloads.v1beta1.ListWorkloadsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllWorkloads(Iterable<? extends Workload> values)
public ListWorkloadsResponse.Builder addAllWorkloads(Iterable<? extends Workload> values)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.assuredworkloads.v1beta1.Workload>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWorkloadsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addWorkloads(Workload value)
public ListWorkloadsResponse.Builder addWorkloads(Workload value)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
addWorkloads(Workload.Builder builderForValue)
public ListWorkloadsResponse.Builder addWorkloads(Workload.Builder builderForValue)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
addWorkloads(int index, Workload value)
public ListWorkloadsResponse.Builder addWorkloads(int index, Workload value)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
addWorkloads(int index, Workload.Builder builderForValue)
public ListWorkloadsResponse.Builder addWorkloads(int index, Workload.Builder builderForValue)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
addWorkloadsBuilder()
public Workload.Builder addWorkloadsBuilder()
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
addWorkloadsBuilder(int index)
public Workload.Builder addWorkloadsBuilder(int index)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListWorkloadsResponse build()
buildPartial()
public ListWorkloadsResponse buildPartial()
clear()
public ListWorkloadsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListWorkloadsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListWorkloadsResponse.Builder clearNextPageToken()
The next page token. Return empty if reached the last page.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWorkloadsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWorkloads()
public ListWorkloadsResponse.Builder clearWorkloads()
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
clone()
public ListWorkloadsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListWorkloadsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
The next page token. Return empty if reached the last page.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The next page token. Return empty if reached the last page.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getWorkloads(int index)
public Workload getWorkloads(int index)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
Parameter |
---|
Name | Description |
index | int
|
getWorkloadsBuilder(int index)
public Workload.Builder getWorkloadsBuilder(int index)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
Parameter |
---|
Name | Description |
index | int
|
getWorkloadsBuilderList()
public List<Workload.Builder> getWorkloadsBuilderList()
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
getWorkloadsCount()
public int getWorkloadsCount()
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
Returns |
---|
Type | Description |
int | |
getWorkloadsList()
public List<Workload> getWorkloadsList()
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
getWorkloadsOrBuilder(int index)
public WorkloadOrBuilder getWorkloadsOrBuilder(int index)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
Parameter |
---|
Name | Description |
index | int
|
getWorkloadsOrBuilderList()
public List<? extends WorkloadOrBuilder> getWorkloadsOrBuilderList()
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.assuredworkloads.v1beta1.WorkloadOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListWorkloadsResponse other)
public ListWorkloadsResponse.Builder mergeFrom(ListWorkloadsResponse other)
public ListWorkloadsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListWorkloadsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkloadsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeWorkloads(int index)
public ListWorkloadsResponse.Builder removeWorkloads(int index)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListWorkloadsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListWorkloadsResponse.Builder setNextPageToken(String value)
The next page token. Return empty if reached the last page.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListWorkloadsResponse.Builder setNextPageTokenBytes(ByteString value)
The next page token. Return empty if reached the last page.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWorkloadsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkloadsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWorkloads(int index, Workload value)
public ListWorkloadsResponse.Builder setWorkloads(int index, Workload value)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
setWorkloads(int index, Workload.Builder builderForValue)
public ListWorkloadsResponse.Builder setWorkloads(int index, Workload.Builder builderForValue)
List of Workloads under a given parent.
repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;