public final class CreateViewRequest extends GeneratedMessageV3 implements CreateViewRequestOrBuilder
The parameters to CreateView
.
Protobuf type google.logging.v2.CreateViewRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateViewRequestImplements
CreateViewRequestOrBuilderStatic Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
VIEW_FIELD_NUMBER
public static final int VIEW_FIELD_NUMBER
Type | Description |
int |
VIEW_ID_FIELD_NUMBER
public static final int VIEW_ID_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CreateViewRequest getDefaultInstance()
Type | Description |
CreateViewRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CreateViewRequest.Builder newBuilder()
Type | Description |
CreateViewRequest.Builder |
newBuilder(CreateViewRequest prototype)
public static CreateViewRequest.Builder newBuilder(CreateViewRequest prototype)
Name | Description |
prototype | CreateViewRequest |
Type | Description |
CreateViewRequest.Builder |
parseDelimitedFrom(InputStream input)
public static CreateViewRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateViewRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateViewRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateViewRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CreateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateViewRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CreateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateViewRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CreateViewRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateViewRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateViewRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateViewRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateViewRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateViewRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CreateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateViewRequest> parser()
Type | Description |
Parser<CreateViewRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public CreateViewRequest getDefaultInstanceForType()
Type | Description |
CreateViewRequest |
getParent()
public String getParent()
Required. The bucket in which to create the view
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
Example:
"projects/my-logging-project/locations/my-location/buckets/my-bucket"
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The bucket in which to create the view
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
Example:
"projects/my-logging-project/locations/my-location/buckets/my-bucket"
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for parent. |
getParserForType()
public Parser<CreateViewRequest> getParserForType()
Type | Description |
Parser<CreateViewRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getView()
public LogView getView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LogView | The view. |
getViewId()
public String getViewId()
Required. The id to use for this view.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The viewId. |
getViewIdBytes()
public ByteString getViewIdBytes()
Required. The id to use for this view.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for viewId. |
getViewOrBuilder()
public LogViewOrBuilder getViewOrBuilder()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LogViewOrBuilder |
hasView()
public boolean hasView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the view field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public CreateViewRequest.Builder newBuilderForType()
Type | Description |
CreateViewRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateViewRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CreateViewRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CreateViewRequest.Builder toBuilder()
Type | Description |
CreateViewRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |