Interface CreateViewRequestOrBuilder (3.17.2)

public interface CreateViewRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The bucket in which to create the view

 <code>"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"</code>

For example:

"projects/my-project/locations/global/buckets/my-bucket"

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The bucket in which to create the view

 <code>"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"</code>

For example:

"projects/my-project/locations/global/buckets/my-bucket"

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getView()

public abstract LogView getView()

Required. The new view.

.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LogView

The view.

getViewId()

public abstract String getViewId()

Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

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

Returns
Type Description
String

The viewId.

getViewIdBytes()

public abstract ByteString getViewIdBytes()

Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

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

Returns
Type Description
ByteString

The bytes for viewId.

getViewOrBuilder()

public abstract LogViewOrBuilder getViewOrBuilder()

Required. The new view.

.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LogViewOrBuilder

hasView()

public abstract boolean hasView()

Required. The new view.

.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the view field is set.