public static final class ListNotificationChannelDescriptorsRequest.Builder extends GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsRequest.Builder> implements ListNotificationChannelDescriptorsRequestOrBuilder
The ListNotificationChannelDescriptors
request.
Protobuf type google.monitoring.v3.ListNotificationChannelDescriptorsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNotificationChannelDescriptorsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListNotificationChannelDescriptorsRequest build()
buildPartial()
public ListNotificationChannelDescriptorsRequest buildPartial()
clear()
public ListNotificationChannelDescriptorsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListNotificationChannelDescriptorsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public ListNotificationChannelDescriptorsRequest.Builder clearName()
Required. The REST resource name of the parent from which to retrieve
the notification channel descriptors. The expected syntax is:
projects/[PROJECT_ID_OR_NUMBER]
Note that this
names the parent
container in which to look for the descriptors; to retrieve a single
descriptor by name, use the
GetNotificationChannelDescriptor
operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public ListNotificationChannelDescriptorsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPageSize()
public ListNotificationChannelDescriptorsRequest.Builder clearPageSize()
The maximum number of results to return in a single response. If
not set to a positive number, a reasonable value will be chosen by the
service.
int32 page_size = 2;
clearPageToken()
public ListNotificationChannelDescriptorsRequest.Builder clearPageToken()
If non-empty, page_token
must contain a value returned as the
next_page_token
in a previous response to request the next set
of results.
string page_token = 3;
clone()
public ListNotificationChannelDescriptorsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ListNotificationChannelDescriptorsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Required. The REST resource name of the parent from which to retrieve
the notification channel descriptors. The expected syntax is:
projects/[PROJECT_ID_OR_NUMBER]
Note that this
names the parent
container in which to look for the descriptors; to retrieve a single
descriptor by name, use the
GetNotificationChannelDescriptor
operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The REST resource name of the parent from which to retrieve
the notification channel descriptors. The expected syntax is:
projects/[PROJECT_ID_OR_NUMBER]
Note that this
names the parent
container in which to look for the descriptors; to retrieve a single
descriptor by name, use the
GetNotificationChannelDescriptor
operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getPageSize()
The maximum number of results to return in a single response. If
not set to a positive number, a reasonable value will be chosen by the
service.
int32 page_size = 2;
Returns |
---|
Type | Description |
int | The pageSize.
|
getPageToken()
public String getPageToken()
If non-empty, page_token
must contain a value returned as the
next_page_token
in a previous response to request the next set
of results.
string page_token = 3;
Returns |
---|
Type | Description |
String | The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
If non-empty, page_token
must contain a value returned as the
next_page_token
in a previous response to request the next set
of results.
string page_token = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for pageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListNotificationChannelDescriptorsRequest other)
public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(ListNotificationChannelDescriptorsRequest other)
public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNotificationChannelDescriptorsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListNotificationChannelDescriptorsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public ListNotificationChannelDescriptorsRequest.Builder setName(String value)
Required. The REST resource name of the parent from which to retrieve
the notification channel descriptors. The expected syntax is:
projects/[PROJECT_ID_OR_NUMBER]
Note that this
names the parent
container in which to look for the descriptors; to retrieve a single
descriptor by name, use the
GetNotificationChannelDescriptor
operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public ListNotificationChannelDescriptorsRequest.Builder setNameBytes(ByteString value)
Required. The REST resource name of the parent from which to retrieve
the notification channel descriptors. The expected syntax is:
projects/[PROJECT_ID_OR_NUMBER]
Note that this
names the parent
container in which to look for the descriptors; to retrieve a single
descriptor by name, use the
GetNotificationChannelDescriptor
operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setPageSize(int value)
public ListNotificationChannelDescriptorsRequest.Builder setPageSize(int value)
The maximum number of results to return in a single response. If
not set to a positive number, a reasonable value will be chosen by the
service.
int32 page_size = 2;
Parameter |
---|
Name | Description |
value | int
The pageSize to set.
|
setPageToken(String value)
public ListNotificationChannelDescriptorsRequest.Builder setPageToken(String value)
If non-empty, page_token
must contain a value returned as the
next_page_token
in a previous response to request the next set
of results.
string page_token = 3;
Parameter |
---|
Name | Description |
value | String
The pageToken to set.
|
setPageTokenBytes(ByteString value)
public ListNotificationChannelDescriptorsRequest.Builder setPageTokenBytes(ByteString value)
If non-empty, page_token
must contain a value returned as the
next_page_token
in a previous response to request the next set
of results.
string page_token = 3;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for pageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListNotificationChannelDescriptorsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNotificationChannelDescriptorsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides