public static final class SummarizeMaintenancesRequest.Builder extends GeneratedMessageV3.Builder<SummarizeMaintenancesRequest.Builder> implements SummarizeMaintenancesRequestOrBuilder
Request message for SummarizeMaintenances custom method.
Protobuf type google.cloud.maintenance.api.v1beta.SummarizeMaintenancesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SummarizeMaintenancesRequest.BuilderImplements
SummarizeMaintenancesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SummarizeMaintenancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
build()
public SummarizeMaintenancesRequest build()
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest |
buildPartial()
public SummarizeMaintenancesRequest buildPartial()
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest |
clear()
public SummarizeMaintenancesRequest.Builder clear()
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public SummarizeMaintenancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
clearFilter()
public SummarizeMaintenancesRequest.Builder clearFilter()
Filter the list as specified in https://google.aip.dev/160. Supported fields include:
- state
- resource.location
- resource.resourceName
- resource.type
- maintenance.maintenanceName
- maintenanceStartTime
- maintenanceCompleteTime Examples:
- state="SCHEDULED"
- resource.location="us-central1-c"
- resource.resourceName=~"*/instance-20241212-211259"
- maintenanceStartTime>"2000-10-11T20:44:51Z"
- state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"
- maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND maintenanceCompleteTime>"2000-10-11T20:44:51Z"
string filter = 10507;
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SummarizeMaintenancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
clearOrderBy()
public SummarizeMaintenancesRequest.Builder clearOrderBy()
Order results as specified in https://google.aip.dev/132.
string order_by = 10508;
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
clearPageSize()
public SummarizeMaintenancesRequest.Builder clearPageSize()
The maximum number of resource maintenances to send per page. The default page size is 20 and the maximum is 1000.
int32 page_size = 10505;
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
clearPageToken()
public SummarizeMaintenancesRequest.Builder clearPageToken()
The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.
string page_token = 10506;
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
clearParent()
public SummarizeMaintenancesRequest.Builder clearParent()
Required. The parent of the resource maintenance.
eg. projects/123/locations/*
string parent = 10006 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
clone()
public SummarizeMaintenancesRequest.Builder clone()
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
getDefaultInstanceForType()
public SummarizeMaintenancesRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilter()
public String getFilter()
Filter the list as specified in https://google.aip.dev/160. Supported fields include:
- state
- resource.location
- resource.resourceName
- resource.type
- maintenance.maintenanceName
- maintenanceStartTime
- maintenanceCompleteTime Examples:
- state="SCHEDULED"
- resource.location="us-central1-c"
- resource.resourceName=~"*/instance-20241212-211259"
- maintenanceStartTime>"2000-10-11T20:44:51Z"
- state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"
- maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND maintenanceCompleteTime>"2000-10-11T20:44:51Z"
string filter = 10507;
Returns | |
---|---|
Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()
Filter the list as specified in https://google.aip.dev/160. Supported fields include:
- state
- resource.location
- resource.resourceName
- resource.type
- maintenance.maintenanceName
- maintenanceStartTime
- maintenanceCompleteTime Examples:
- state="SCHEDULED"
- resource.location="us-central1-c"
- resource.resourceName=~"*/instance-20241212-211259"
- maintenanceStartTime>"2000-10-11T20:44:51Z"
- state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"
- maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND maintenanceCompleteTime>"2000-10-11T20:44:51Z"
string filter = 10507;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for filter. |
getOrderBy()
public String getOrderBy()
Order results as specified in https://google.aip.dev/132.
string order_by = 10508;
Returns | |
---|---|
Type | Description |
String |
The orderBy. |
getOrderByBytes()
public ByteString getOrderByBytes()
Order results as specified in https://google.aip.dev/132.
string order_by = 10508;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for orderBy. |
getPageSize()
public int getPageSize()
The maximum number of resource maintenances to send per page. The default page size is 20 and the maximum is 1000.
int32 page_size = 10505;
Returns | |
---|---|
Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()
The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.
string page_token = 10506;
Returns | |
---|---|
Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.
string page_token = 10506;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()
Required. The parent of the resource maintenance.
eg. projects/123/locations/*
string parent = 10006 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent of the resource maintenance.
eg. projects/123/locations/*
string parent = 10006 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SummarizeMaintenancesRequest other)
public SummarizeMaintenancesRequest.Builder mergeFrom(SummarizeMaintenancesRequest other)
Parameter | |
---|---|
Name | Description |
other |
SummarizeMaintenancesRequest |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SummarizeMaintenancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SummarizeMaintenancesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SummarizeMaintenancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SummarizeMaintenancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
setFilter(String value)
public SummarizeMaintenancesRequest.Builder setFilter(String value)
Filter the list as specified in https://google.aip.dev/160. Supported fields include:
- state
- resource.location
- resource.resourceName
- resource.type
- maintenance.maintenanceName
- maintenanceStartTime
- maintenanceCompleteTime Examples:
- state="SCHEDULED"
- resource.location="us-central1-c"
- resource.resourceName=~"*/instance-20241212-211259"
- maintenanceStartTime>"2000-10-11T20:44:51Z"
- state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"
- maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND maintenanceCompleteTime>"2000-10-11T20:44:51Z"
string filter = 10507;
Parameter | |
---|---|
Name | Description |
value |
String The filter to set. |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public SummarizeMaintenancesRequest.Builder setFilterBytes(ByteString value)
Filter the list as specified in https://google.aip.dev/160. Supported fields include:
- state
- resource.location
- resource.resourceName
- resource.type
- maintenance.maintenanceName
- maintenanceStartTime
- maintenanceCompleteTime Examples:
- state="SCHEDULED"
- resource.location="us-central1-c"
- resource.resourceName=~"*/instance-20241212-211259"
- maintenanceStartTime>"2000-10-11T20:44:51Z"
- state="SCHEDULED" OR resource.type="compute.googleapis.com/Instance"
- maintenance.maitenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1" AND maintenanceCompleteTime>"2000-10-11T20:44:51Z"
string filter = 10507;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
setOrderBy(String value)
public SummarizeMaintenancesRequest.Builder setOrderBy(String value)
Order results as specified in https://google.aip.dev/132.
string order_by = 10508;
Parameter | |
---|---|
Name | Description |
value |
String The orderBy to set. |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
setOrderByBytes(ByteString value)
public SummarizeMaintenancesRequest.Builder setOrderByBytes(ByteString value)
Order results as specified in https://google.aip.dev/132.
string order_by = 10508;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for orderBy to set. |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public SummarizeMaintenancesRequest.Builder setPageSize(int value)
The maximum number of resource maintenances to send per page. The default page size is 20 and the maximum is 1000.
int32 page_size = 10505;
Parameter | |
---|---|
Name | Description |
value |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public SummarizeMaintenancesRequest.Builder setPageToken(String value)
The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.
string page_token = 10506;
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public SummarizeMaintenancesRequest.Builder setPageTokenBytes(ByteString value)
The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page.
string page_token = 10506;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
setParent(String value)
public SummarizeMaintenancesRequest.Builder setParent(String value)
Required. The parent of the resource maintenance.
eg. projects/123/locations/*
string parent = 10006 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public SummarizeMaintenancesRequest.Builder setParentBytes(ByteString value)
Required. The parent of the resource maintenance.
eg. projects/123/locations/*
string parent = 10006 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SummarizeMaintenancesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SummarizeMaintenancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SummarizeMaintenancesRequest.Builder |