public final class CreateCaseRequest extends GeneratedMessageV3 implements CreateCaseRequestOrBuilder
The request message for the CreateCase endpoint.
Protobuf type google.cloud.support.v2.CreateCaseRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CASE_FIELD_NUMBER
public static final int CASE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CreateCaseRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateCaseRequest.Builder newBuilder()
newBuilder(CreateCaseRequest prototype)
public static CreateCaseRequest.Builder newBuilder(CreateCaseRequest prototype)
public static CreateCaseRequest parseDelimitedFrom(InputStream input)
public static CreateCaseRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateCaseRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateCaseRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateCaseRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateCaseRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateCaseRequest parseFrom(CodedInputStream input)
public static CreateCaseRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateCaseRequest parseFrom(InputStream input)
public static CreateCaseRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateCaseRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateCaseRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateCaseRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCase()
Required. The case to be created.
.google.cloud.support.v2.Case case = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Case | The case.
|
getCaseOrBuilder()
public CaseOrBuilder getCaseOrBuilder()
Required. The case to be created.
.google.cloud.support.v2.Case case = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateCaseRequest getDefaultInstanceForType()
getParent()
public String getParent()
Required. The name of the Google Cloud Resource under which the case should
be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The name of the Google Cloud Resource under which the case should
be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<CreateCaseRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasCase()
Required. The case to be created.
.google.cloud.support.v2.Case case = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the case field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CreateCaseRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateCaseRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CreateCaseRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides