Class CreateEntryGroupRequest (1.28.0)

public final class CreateEntryGroupRequest extends GeneratedMessageV3 implements CreateEntryGroupRequestOrBuilder

Request message for CreateEntryGroup.

Protobuf type google.cloud.datacatalog.v1.CreateEntryGroupRequest

Static Fields

ENTRY_GROUP_FIELD_NUMBER

public static final int ENTRY_GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

ENTRY_GROUP_ID_FIELD_NUMBER

public static final int ENTRY_GROUP_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateEntryGroupRequest getDefaultInstance()
Returns
TypeDescription
CreateEntryGroupRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateEntryGroupRequest.Builder newBuilder()
Returns
TypeDescription
CreateEntryGroupRequest.Builder

newBuilder(CreateEntryGroupRequest prototype)

public static CreateEntryGroupRequest.Builder newBuilder(CreateEntryGroupRequest prototype)
Parameter
NameDescription
prototypeCreateEntryGroupRequest
Returns
TypeDescription
CreateEntryGroupRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateEntryGroupRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateEntryGroupRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateEntryGroupRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateEntryGroupRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateEntryGroupRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateEntryGroupRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateEntryGroupRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateEntryGroupRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateEntryGroupRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateEntryGroupRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateEntryGroupRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateEntryGroupRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntryGroupRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateEntryGroupRequest> parser()
Returns
TypeDescription
Parser<CreateEntryGroupRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateEntryGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateEntryGroupRequest

getEntryGroup()

public EntryGroup getEntryGroup()

The entry group to create. Defaults to empty.

.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;

Returns
TypeDescription
EntryGroup

The entryGroup.

getEntryGroupId()

public String getEntryGroupId()

Required. The ID of the entry group to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.

string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The entryGroupId.

getEntryGroupIdBytes()

public ByteString getEntryGroupIdBytes()

Required. The ID of the entry group to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.

string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for entryGroupId.

getEntryGroupOrBuilder()

public EntryGroupOrBuilder getEntryGroupOrBuilder()

The entry group to create. Defaults to empty.

.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;

Returns
TypeDescription
EntryGroupOrBuilder

getParent()

public String getParent()

Required. The names of the project and location that the new entry group belongs to.

Note: The entry group itself and its child resources might not be stored in the location specified in its name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The names of the project and location that the new entry group belongs to.

Note: The entry group itself and its child resources might not be stored in the location specified in its name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateEntryGroupRequest> getParserForType()
Returns
TypeDescription
Parser<CreateEntryGroupRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasEntryGroup()

public boolean hasEntryGroup()

The entry group to create. Defaults to empty.

.google.cloud.datacatalog.v1.EntryGroup entry_group = 2;

Returns
TypeDescription
boolean

Whether the entryGroup field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateEntryGroupRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateEntryGroupRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateEntryGroupRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateEntryGroupRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateEntryGroupRequest.Builder toBuilder()
Returns
TypeDescription
CreateEntryGroupRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException