- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
public static final class ListResourceAllowancesResponse.Builder extends GeneratedMessageV3.Builder<ListResourceAllowancesResponse.Builder> implements ListResourceAllowancesResponseOrBuilder
ListResourceAllowances Response.
Protobuf type google.cloud.batch.v1alpha.ListResourceAllowancesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListResourceAllowancesResponse.BuilderImplements
ListResourceAllowancesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllResourceAllowances(Iterable<? extends ResourceAllowance> values)
public ListResourceAllowancesResponse.Builder addAllResourceAllowances(Iterable<? extends ResourceAllowance> values)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.batch.v1alpha.ResourceAllowance> |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListResourceAllowancesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListResourceAllowancesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
addResourceAllowances(ResourceAllowance value)
public ListResourceAllowancesResponse.Builder addResourceAllowances(ResourceAllowance value)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameter | |
---|---|
Name | Description |
value |
ResourceAllowance |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
addResourceAllowances(ResourceAllowance.Builder builderForValue)
public ListResourceAllowancesResponse.Builder addResourceAllowances(ResourceAllowance.Builder builderForValue)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourceAllowance.Builder |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
addResourceAllowances(int index, ResourceAllowance value)
public ListResourceAllowancesResponse.Builder addResourceAllowances(int index, ResourceAllowance value)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ResourceAllowance |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
addResourceAllowances(int index, ResourceAllowance.Builder builderForValue)
public ListResourceAllowancesResponse.Builder addResourceAllowances(int index, ResourceAllowance.Builder builderForValue)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ResourceAllowance.Builder |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
addResourceAllowancesBuilder()
public ResourceAllowance.Builder addResourceAllowancesBuilder()
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Returns | |
---|---|
Type | Description |
ResourceAllowance.Builder |
addResourceAllowancesBuilder(int index)
public ResourceAllowance.Builder addResourceAllowancesBuilder(int index)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ResourceAllowance.Builder |
addUnreachable(String value)
public ListResourceAllowancesResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListResourceAllowancesResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
This builder for chaining. |
build()
public ListResourceAllowancesResponse build()
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse |
buildPartial()
public ListResourceAllowancesResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse |
clear()
public ListResourceAllowancesResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListResourceAllowancesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
clearNextPageToken()
public ListResourceAllowancesResponse.Builder clearNextPageToken()
Next page token.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListResourceAllowancesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
clearResourceAllowances()
public ListResourceAllowancesResponse.Builder clearResourceAllowances()
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
clearUnreachable()
public ListResourceAllowancesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
This builder for chaining. |
clone()
public ListResourceAllowancesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
getDefaultInstanceForType()
public ListResourceAllowancesResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
Next page token.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Next page token.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for nextPageToken. |
getResourceAllowances(int index)
public ResourceAllowance getResourceAllowances(int index)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ResourceAllowance |
getResourceAllowancesBuilder(int index)
public ResourceAllowance.Builder getResourceAllowancesBuilder(int index)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ResourceAllowance.Builder |
getResourceAllowancesBuilderList()
public List<ResourceAllowance.Builder> getResourceAllowancesBuilderList()
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getResourceAllowancesCount()
public int getResourceAllowancesCount()
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Returns | |
---|---|
Type | Description |
int |
getResourceAllowancesList()
public List<ResourceAllowance> getResourceAllowancesList()
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Returns | |
---|---|
Type | Description |
List<ResourceAllowance> |
getResourceAllowancesOrBuilder(int index)
public ResourceAllowanceOrBuilder getResourceAllowancesOrBuilder(int index)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ResourceAllowanceOrBuilder |
getResourceAllowancesOrBuilderList()
public List<? extends ResourceAllowanceOrBuilder> getResourceAllowancesOrBuilderList()
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.batch.v1alpha.ResourceAllowanceOrBuilder> |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListResourceAllowancesResponse other)
public ListResourceAllowancesResponse.Builder mergeFrom(ListResourceAllowancesResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListResourceAllowancesResponse |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListResourceAllowancesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListResourceAllowancesResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListResourceAllowancesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
removeResourceAllowances(int index)
public ListResourceAllowancesResponse.Builder removeResourceAllowances(int index)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListResourceAllowancesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
setNextPageToken(String value)
public ListResourceAllowancesResponse.Builder setNextPageToken(String value)
Next page token.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListResourceAllowancesResponse.Builder setNextPageTokenBytes(ByteString value)
Next page token.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListResourceAllowancesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
setResourceAllowances(int index, ResourceAllowance value)
public ListResourceAllowancesResponse.Builder setResourceAllowances(int index, ResourceAllowance value)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ResourceAllowance |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
setResourceAllowances(int index, ResourceAllowance.Builder builderForValue)
public ListResourceAllowancesResponse.Builder setResourceAllowances(int index, ResourceAllowance.Builder builderForValue)
ResourceAllowances.
repeated .google.cloud.batch.v1alpha.ResourceAllowance resource_allowances = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ResourceAllowance.Builder |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListResourceAllowancesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
setUnreachable(int index, String value)
public ListResourceAllowancesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse.Builder |
This builder for chaining. |