Class CreateUrlListRequest (0.94.0)

public final class CreateUrlListRequest extends GeneratedMessage implements CreateUrlListRequestOrBuilder

Request used by the CreateUrlList method.

Protobuf type google.cloud.networksecurity.v1.CreateUrlListRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

URL_LIST_FIELD_NUMBER

public static final int URL_LIST_FIELD_NUMBER
Field Value
Type Description
int

URL_LIST_ID_FIELD_NUMBER

public static final int URL_LIST_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateUrlListRequest getDefaultInstance()
Returns
Type Description
CreateUrlListRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateUrlListRequest.Builder newBuilder()
Returns
Type Description
CreateUrlListRequest.Builder

newBuilder(CreateUrlListRequest prototype)

public static CreateUrlListRequest.Builder newBuilder(CreateUrlListRequest prototype)
Parameter
Name Description
prototype CreateUrlListRequest
Returns
Type Description
CreateUrlListRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateUrlListRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateUrlListRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateUrlListRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateUrlListRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateUrlListRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateUrlListRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateUrlListRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateUrlListRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateUrlListRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateUrlListRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateUrlListRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateUrlListRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateUrlListRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateUrlListRequest> parser()
Returns
Type Description
Parser<CreateUrlListRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateUrlListRequest getDefaultInstanceForType()
Returns
Type Description
CreateUrlListRequest

getParent()

public String getParent()

Required. The parent resource of the UrlList. Must be in the format projects/*/locations/{location}.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the UrlList. Must be in the format projects/*/locations/{location}.

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

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateUrlListRequest> getParserForType()
Returns
Type Description
Parser<CreateUrlListRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUrlList()

public UrlList getUrlList()

Required. UrlList resource to be created.

.google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UrlList

The urlList.

getUrlListId()

public String getUrlListId()

Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "url_list".

string url_list_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The urlListId.

getUrlListIdBytes()

public ByteString getUrlListIdBytes()

Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "url_list".

string url_list_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for urlListId.

getUrlListOrBuilder()

public UrlListOrBuilder getUrlListOrBuilder()

Required. UrlList resource to be created.

.google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UrlListOrBuilder

hasUrlList()

public boolean hasUrlList()

Required. UrlList resource to be created.

.google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the urlList field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateUrlListRequest.Builder newBuilderForType()
Returns
Type Description
CreateUrlListRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CreateUrlListRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateUrlListRequest.Builder
Overrides

toBuilder()

public CreateUrlListRequest.Builder toBuilder()
Returns
Type Description
CreateUrlListRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException