public static final class GetGroupRequest.Builder extends GeneratedMessageV3.Builder<GetGroupRequest.Builder> implements GetGroupRequestOrBuilder
A request to return an individual group.
Protobuf type google.devtools.clouderrorreporting.v1beta1.GetGroupRequest
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public GetGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetGroupRequest build()
Returns
public GetGroupRequest buildPartial()
Returns
public GetGroupRequest.Builder clear()
Returns
Overrides
public GetGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public GetGroupRequest.Builder clearGroupName()
Required. The group resource name. Written as
projects/{projectID}/groups/{group_name}
. Call
groupStats.list
to return a list of groups belonging to this project.
Example: projects/my-project-123/groups/my-group
string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public GetGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public GetGroupRequest.Builder clone()
Returns
Overrides
public GetGroupRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getGroupName()
Required. The group resource name. Written as
projects/{projectID}/groups/{group_name}
. Call
groupStats.list
to return a list of groups belonging to this project.
Example: projects/my-project-123/groups/my-group
string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The groupName.
|
public ByteString getGroupNameBytes()
Required. The group resource name. Written as
projects/{projectID}/groups/{group_name}
. Call
groupStats.list
to return a list of groups belonging to this project.
Example: projects/my-project-123/groups/my-group
string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public GetGroupRequest.Builder mergeFrom(GetGroupRequest other)
Parameter
Returns
public GetGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public GetGroupRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final GetGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public GetGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetGroupRequest.Builder setGroupName(String value)
Required. The group resource name. Written as
projects/{projectID}/groups/{group_name}
. Call
groupStats.list
to return a list of groups belonging to this project.
Example: projects/my-project-123/groups/my-group
string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The groupName to set.
|
Returns
public GetGroupRequest.Builder setGroupNameBytes(ByteString value)
Required. The group resource name. Written as
projects/{projectID}/groups/{group_name}
. Call
groupStats.list
to return a list of groups belonging to this project.
Example: projects/my-project-123/groups/my-group
string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for groupName to set.
|
Returns
public GetGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final GetGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides